Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
--- a/runtime/js/array.js
+++ b/runtime/js/array.js
@@ -131,3 +131,13 @@
for (var i = 1; i < len; i++) b[i] = 0;
return b
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not exactly sure how GNU Patch allowed that if that's not what the file looks like. Could someone open a ticket on https://github.com/hannesm/patch/issues with state of this file before the patch and a link to the original patch? If no-one has the spare time to do it, i'll do it sometime later this week

@@ -249,3 +249,12 @@
return caml_array_make(len, init);
}
+

+// Provides: caml_iarray_of_array const
+function caml_iarray_of_array(a) {
+ return a;
Expand All @@ -16,7 +15,7 @@
+}
--- a/runtime/wasm/array.wat
+++ b/runtime/wasm/array.wat
@@ -293,4 +293,13 @@
@@ -403,4 +403,13 @@
(struct.get $float 0 (ref.cast (ref $float) (local.get $v)))
(local.get $len))))
(ref.i31 (i32.const 0)))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ extra-files: [
]
[
"js_of_ocaml-iarray-primitives.patch"
"sha256=037ad55684c9ac3801ff284839d8bb1290d2e750cd4bcb03b75e5f4ab69559c9"
"sha256=1cefd949dad720858306c87e349dd927c402f292d7b7c770542f0b28bc8dc1b8"
]
[
"js_of_ocaml-important-config-changes.patch"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
--- a/runtime/js/array.js
+++ b/runtime/js/array.js
@@ -131,3 +131,13 @@
for (var i = 1; i < len; i++) b[i] = 0;
return b
@@ -249,3 +249,12 @@
return caml_array_make(len, init);
}
+

+// Provides: caml_iarray_of_array const
+function caml_iarray_of_array(a) {
+ return a;
Expand All @@ -16,7 +15,7 @@
+}
--- a/runtime/wasm/array.wat
+++ b/runtime/wasm/array.wat
@@ -293,4 +293,13 @@
@@ -403,4 +403,13 @@
(struct.get $float 0 (ref.cast (ref $float) (local.get $v)))
(local.get $len))))
(ref.i31 (i32.const 0)))
Expand Down
2 changes: 1 addition & 1 deletion packages/js_of_ocaml-ppx/js_of_ocaml-ppx.6.0.1+ox/opam
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ extra-files: [
]
[
"js_of_ocaml-iarray-primitives.patch"
"sha256=037ad55684c9ac3801ff284839d8bb1290d2e750cd4bcb03b75e5f4ab69559c9"
"sha256=1cefd949dad720858306c87e349dd927c402f292d7b7c770542f0b28bc8dc1b8"
]
[
"js_of_ocaml-important-config-changes.patch"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
--- a/runtime/js/array.js
+++ b/runtime/js/array.js
@@ -131,3 +131,13 @@
for (var i = 1; i < len; i++) b[i] = 0;
return b
@@ -249,3 +249,12 @@
return caml_array_make(len, init);
}
+

+// Provides: caml_iarray_of_array const
+function caml_iarray_of_array(a) {
+ return a;
Expand All @@ -16,7 +15,7 @@
+}
--- a/runtime/wasm/array.wat
+++ b/runtime/wasm/array.wat
@@ -293,4 +293,13 @@
@@ -403,4 +403,13 @@
(struct.get $float 0 (ref.cast (ref $float) (local.get $v)))
(local.get $len))))
(ref.i31 (i32.const 0)))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ extra-files: [
]
[
"js_of_ocaml-iarray-primitives.patch"
"sha256=037ad55684c9ac3801ff284839d8bb1290d2e750cd4bcb03b75e5f4ab69559c9"
"sha256=1cefd949dad720858306c87e349dd927c402f292d7b7c770542f0b28bc8dc1b8"
]
[
"js_of_ocaml-important-config-changes.patch"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
--- a/runtime/js/array.js
+++ b/runtime/js/array.js
@@ -131,3 +131,13 @@
for (var i = 1; i < len; i++) b[i] = 0;
return b
@@ -249,3 +249,12 @@
return caml_array_make(len, init);
}
+

+// Provides: caml_iarray_of_array const
+function caml_iarray_of_array(a) {
+ return a;
Expand All @@ -16,7 +15,7 @@
+}
--- a/runtime/wasm/array.wat
+++ b/runtime/wasm/array.wat
@@ -293,4 +293,13 @@
@@ -403,4 +403,13 @@
(struct.get $float 0 (ref.cast (ref $float) (local.get $v)))
(local.get $len))))
(ref.i31 (i32.const 0)))
Expand Down
2 changes: 1 addition & 1 deletion packages/js_of_ocaml/js_of_ocaml.6.0.1+ox/opam
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ extra-files: [
]
[
"js_of_ocaml-iarray-primitives.patch"
"sha256=037ad55684c9ac3801ff284839d8bb1290d2e750cd4bcb03b75e5f4ab69559c9"
"sha256=1cefd949dad720858306c87e349dd927c402f292d7b7c770542f0b28bc8dc1b8"
]
[
"js_of_ocaml-important-config-changes.patch"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
--- a/runtime/js/array.js
+++ b/runtime/js/array.js
@@ -131,3 +131,13 @@
for (var i = 1; i < len; i++) b[i] = 0;
return b
@@ -249,3 +249,12 @@
return caml_array_make(len, init);
}
+

+// Provides: caml_iarray_of_array const
+function caml_iarray_of_array(a) {
+ return a;
Expand All @@ -16,7 +15,7 @@
+}
--- a/runtime/wasm/array.wat
+++ b/runtime/wasm/array.wat
@@ -293,4 +293,13 @@
@@ -403,4 +403,13 @@
(struct.get $float 0 (ref.cast (ref $float) (local.get $v)))
(local.get $len))))
(ref.i31 (i32.const 0)))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ extra-files: [
]
[
"js_of_ocaml-iarray-primitives.patch"
"sha256=037ad55684c9ac3801ff284839d8bb1290d2e750cd4bcb03b75e5f4ab69559c9"
"sha256=1cefd949dad720858306c87e349dd927c402f292d7b7c770542f0b28bc8dc1b8"
]
[
"js_of_ocaml-important-config-changes.patch"
Expand Down
Loading