@grain/binaryen.ml 0.23.0 → 0.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- binaryen-archive/CHANGELOG.md +11 -0
- binaryen-archive/binaryen.opam +2 -2
- binaryen-archive/esy.lock/index.json +201 -201
- binaryen-archive/esy.lock/opam/{chrome-trace.3.10.0 → chrome-trace.3.11.1}/opam +4 -4
- binaryen-archive/esy.lock/opam/{dune-build-info.3.10.0 → dune-build-info.3.11.1}/opam +4 -4
- binaryen-archive/esy.lock/opam/{dune-configurator.3.10.0 → dune-configurator.3.11.1}/opam +4 -4
- binaryen-archive/esy.lock/opam/{dune-rpc.3.10.0 → dune-rpc.3.11.1}/opam +4 -4
- binaryen-archive/esy.lock/opam/{dune.3.10.0 → dune.3.11.1}/opam +4 -4
- binaryen-archive/esy.lock/opam/{dyn.3.10.0 → dyn.3.11.1}/opam +4 -4
- binaryen-archive/esy.lock/opam/ocamlformat.0.24.1/opam +1 -1
- binaryen-archive/esy.lock/opam/{ordering.3.10.0 → ordering.3.11.1}/opam +4 -4
- binaryen-archive/esy.lock/opam/{stdune.3.10.0 → stdune.3.11.1}/opam +5 -5
- binaryen-archive/esy.lock/opam/{xdg.3.10.0 → xdg.3.11.1}/opam +4 -4
- binaryen-archive/esy.lock/opam/{yojson.2.1.0 → yojson.2.1.1}/opam +4 -4
- binaryen-archive/package.json +3 -3
- binaryen-archive/src/passes.ml +3 -0
- binaryen-archive/src/passes.mli +3 -0
- binaryen-archive/test/test.expected +4 -4
- binaryen-archive/test/test.ml +1 -0
|
@@ -31,10 +31,10 @@ build: [
|
|
|
31
31
|
]
|
|
32
32
|
url {
|
|
33
33
|
src:
|
|
34
|
-
"https://github.com/ocaml/dune/releases/download/3.
|
|
34
|
+
"https://github.com/ocaml/dune/releases/download/3.11.1/dune-3.11.1.tbz"
|
|
35
35
|
checksum: [
|
|
36
|
-
"sha256=
|
|
37
|
-
"sha512=
|
|
36
|
+
"sha256=866f2307adadaf7604f3bf9d98bb4098792baa046953a6726c96c40fc5ed3f71"
|
|
37
|
+
"sha512=c888153b204a16bcfed2636de776bbd5f9ca84484e716cc1e9ef3ba3c904e9dd15a2609ae943cddb6097912623ec54618c58386d6730ff742d746850400fb3cc"
|
|
38
38
|
]
|
|
39
39
|
}
|
|
40
|
-
x-commit-hash: "
|
|
40
|
+
x-commit-hash: "7cbb0e7277c6cacd1ccf7941cac5a03c25fc63cf"
|
|
@@ -37,10 +37,10 @@ build: [
|
|
|
37
37
|
]
|
|
38
38
|
url {
|
|
39
39
|
src:
|
|
40
|
-
"https://github.com/ocaml/dune/releases/download/3.
|
|
40
|
+
"https://github.com/ocaml/dune/releases/download/3.11.1/dune-3.11.1.tbz"
|
|
41
41
|
checksum: [
|
|
42
|
-
"sha256=
|
|
43
|
-
"sha512=
|
|
42
|
+
"sha256=866f2307adadaf7604f3bf9d98bb4098792baa046953a6726c96c40fc5ed3f71"
|
|
43
|
+
"sha512=c888153b204a16bcfed2636de776bbd5f9ca84484e716cc1e9ef3ba3c904e9dd15a2609ae943cddb6097912623ec54618c58386d6730ff742d746850400fb3cc"
|
|
44
44
|
]
|
|
45
45
|
}
|
|
46
|
-
x-commit-hash: "
|
|
46
|
+
x-commit-hash: "7cbb0e7277c6cacd1ccf7941cac5a03c25fc63cf"
|
|
@@ -41,10 +41,10 @@ build: [
|
|
|
41
41
|
]
|
|
42
42
|
url {
|
|
43
43
|
src:
|
|
44
|
-
"https://github.com/ocaml/dune/releases/download/3.
|
|
44
|
+
"https://github.com/ocaml/dune/releases/download/3.11.1/dune-3.11.1.tbz"
|
|
45
45
|
checksum: [
|
|
46
|
-
"sha256=
|
|
47
|
-
"sha512=
|
|
46
|
+
"sha256=866f2307adadaf7604f3bf9d98bb4098792baa046953a6726c96c40fc5ed3f71"
|
|
47
|
+
"sha512=c888153b204a16bcfed2636de776bbd5f9ca84484e716cc1e9ef3ba3c904e9dd15a2609ae943cddb6097912623ec54618c58386d6730ff742d746850400fb3cc"
|
|
48
48
|
]
|
|
49
49
|
}
|
|
50
|
-
x-commit-hash: "
|
|
50
|
+
x-commit-hash: "7cbb0e7277c6cacd1ccf7941cac5a03c25fc63cf"
|
|
@@ -35,10 +35,10 @@ build: [
|
|
|
35
35
|
]
|
|
36
36
|
url {
|
|
37
37
|
src:
|
|
38
|
-
"https://github.com/ocaml/dune/releases/download/3.
|
|
38
|
+
"https://github.com/ocaml/dune/releases/download/3.11.1/dune-3.11.1.tbz"
|
|
39
39
|
checksum: [
|
|
40
|
-
"sha256=
|
|
41
|
-
"sha512=
|
|
40
|
+
"sha256=866f2307adadaf7604f3bf9d98bb4098792baa046953a6726c96c40fc5ed3f71"
|
|
41
|
+
"sha512=c888153b204a16bcfed2636de776bbd5f9ca84484e716cc1e9ef3ba3c904e9dd15a2609ae943cddb6097912623ec54618c58386d6730ff742d746850400fb3cc"
|
|
42
42
|
]
|
|
43
43
|
}
|
|
44
|
-
x-commit-hash: "
|
|
44
|
+
x-commit-hash: "7cbb0e7277c6cacd1ccf7941cac5a03c25fc63cf"
|
|
@@ -48,10 +48,10 @@ depends: [
|
|
|
48
48
|
]
|
|
49
49
|
url {
|
|
50
50
|
src:
|
|
51
|
-
"https://github.com/ocaml/dune/releases/download/3.
|
|
51
|
+
"https://github.com/ocaml/dune/releases/download/3.11.1/dune-3.11.1.tbz"
|
|
52
52
|
checksum: [
|
|
53
|
-
"sha256=
|
|
54
|
-
"sha512=
|
|
53
|
+
"sha256=866f2307adadaf7604f3bf9d98bb4098792baa046953a6726c96c40fc5ed3f71"
|
|
54
|
+
"sha512=c888153b204a16bcfed2636de776bbd5f9ca84484e716cc1e9ef3ba3c904e9dd15a2609ae943cddb6097912623ec54618c58386d6730ff742d746850400fb3cc"
|
|
55
55
|
]
|
|
56
56
|
}
|
|
57
|
-
x-commit-hash: "
|
|
57
|
+
x-commit-hash: "7cbb0e7277c6cacd1ccf7941cac5a03c25fc63cf"
|
|
@@ -32,10 +32,10 @@ build: [
|
|
|
32
32
|
]
|
|
33
33
|
url {
|
|
34
34
|
src:
|
|
35
|
-
"https://github.com/ocaml/dune/releases/download/3.
|
|
35
|
+
"https://github.com/ocaml/dune/releases/download/3.11.1/dune-3.11.1.tbz"
|
|
36
36
|
checksum: [
|
|
37
|
-
"sha256=
|
|
38
|
-
"sha512=
|
|
37
|
+
"sha256=866f2307adadaf7604f3bf9d98bb4098792baa046953a6726c96c40fc5ed3f71"
|
|
38
|
+
"sha512=c888153b204a16bcfed2636de776bbd5f9ca84484e716cc1e9ef3ba3c904e9dd15a2609ae943cddb6097912623ec54618c58386d6730ff742d746850400fb3cc"
|
|
39
39
|
]
|
|
40
40
|
}
|
|
41
|
-
x-commit-hash: "
|
|
41
|
+
x-commit-hash: "7cbb0e7277c6cacd1ccf7941cac5a03c25fc63cf"
|
|
@@ -22,7 +22,7 @@ depends: [
|
|
|
22
22
|
"ocaml-version" {>= "3.3.0" & < "3.6.0"}
|
|
23
23
|
"ocamlformat-rpc-lib" {with-test & = version}
|
|
24
24
|
"ocp-indent"
|
|
25
|
-
"odoc-parser" {>= "2.0.0" & < "3.0
|
|
25
|
+
"odoc-parser" {>= "2.0.0" & < "2.3.0"}
|
|
26
26
|
"re" {>= "1.7.2"}
|
|
27
27
|
"stdio"
|
|
28
28
|
"uuseg" {>= "10.0.0"}
|
|
@@ -30,10 +30,10 @@ build: [
|
|
|
30
30
|
]
|
|
31
31
|
url {
|
|
32
32
|
src:
|
|
33
|
-
"https://github.com/ocaml/dune/releases/download/3.
|
|
33
|
+
"https://github.com/ocaml/dune/releases/download/3.11.1/dune-3.11.1.tbz"
|
|
34
34
|
checksum: [
|
|
35
|
-
"sha256=
|
|
36
|
-
"sha512=
|
|
35
|
+
"sha256=866f2307adadaf7604f3bf9d98bb4098792baa046953a6726c96c40fc5ed3f71"
|
|
36
|
+
"sha512=c888153b204a16bcfed2636de776bbd5f9ca84484e716cc1e9ef3ba3c904e9dd15a2609ae943cddb6097912623ec54618c58386d6730ff742d746850400fb3cc"
|
|
37
37
|
]
|
|
38
38
|
}
|
|
39
|
-
x-commit-hash: "
|
|
39
|
+
x-commit-hash: "7cbb0e7277c6cacd1ccf7941cac5a03c25fc63cf"
|
|
@@ -14,7 +14,7 @@ depends: [
|
|
|
14
14
|
"base-unix"
|
|
15
15
|
"dyn" {= version}
|
|
16
16
|
"ordering" {= version}
|
|
17
|
-
"pp" {>= "1.
|
|
17
|
+
"pp" {>= "1.2.0"}
|
|
18
18
|
"csexp" {>= "1.5.0"}
|
|
19
19
|
"odoc" {with-doc}
|
|
20
20
|
]
|
|
@@ -36,10 +36,10 @@ build: [
|
|
|
36
36
|
]
|
|
37
37
|
url {
|
|
38
38
|
src:
|
|
39
|
-
"https://github.com/ocaml/dune/releases/download/3.
|
|
39
|
+
"https://github.com/ocaml/dune/releases/download/3.11.1/dune-3.11.1.tbz"
|
|
40
40
|
checksum: [
|
|
41
|
-
"sha256=
|
|
42
|
-
"sha512=
|
|
41
|
+
"sha256=866f2307adadaf7604f3bf9d98bb4098792baa046953a6726c96c40fc5ed3f71"
|
|
42
|
+
"sha512=c888153b204a16bcfed2636de776bbd5f9ca84484e716cc1e9ef3ba3c904e9dd15a2609ae943cddb6097912623ec54618c58386d6730ff742d746850400fb3cc"
|
|
43
43
|
]
|
|
44
44
|
}
|
|
45
|
-
x-commit-hash: "
|
|
45
|
+
x-commit-hash: "7cbb0e7277c6cacd1ccf7941cac5a03c25fc63cf"
|
|
@@ -31,10 +31,10 @@ build: [
|
|
|
31
31
|
]
|
|
32
32
|
url {
|
|
33
33
|
src:
|
|
34
|
-
"https://github.com/ocaml/dune/releases/download/3.
|
|
34
|
+
"https://github.com/ocaml/dune/releases/download/3.11.1/dune-3.11.1.tbz"
|
|
35
35
|
checksum: [
|
|
36
|
-
"sha256=
|
|
37
|
-
"sha512=
|
|
36
|
+
"sha256=866f2307adadaf7604f3bf9d98bb4098792baa046953a6726c96c40fc5ed3f71"
|
|
37
|
+
"sha512=c888153b204a16bcfed2636de776bbd5f9ca84484e716cc1e9ef3ba3c904e9dd15a2609ae943cddb6097912623ec54618c58386d6730ff742d746850400fb3cc"
|
|
38
38
|
]
|
|
39
39
|
}
|
|
40
|
-
x-commit-hash: "
|
|
40
|
+
x-commit-hash: "7cbb0e7277c6cacd1ccf7941cac5a03c25fc63cf"
|
|
@@ -39,10 +39,10 @@ build: [
|
|
|
39
39
|
dev-repo: "git+https://github.com/ocaml-community/yojson.git"
|
|
40
40
|
url {
|
|
41
41
|
src:
|
|
42
|
-
"https://github.com/ocaml-community/yojson/releases/download/2.1.
|
|
42
|
+
"https://github.com/ocaml-community/yojson/releases/download/2.1.1/yojson-2.1.1.tbz"
|
|
43
43
|
checksum: [
|
|
44
|
-
"sha256=
|
|
45
|
-
"sha512=
|
|
44
|
+
"sha256=d58183207b198dc065866239066e074c34f9e139c0d9c4175a38809790e88173"
|
|
45
|
+
"sha512=f7b8529900acb29bc6236d8312d3ebcadbcb3f9d361c8acaed9f7fc7e30527b41a1f3cff80382dde445e6da18a4edc5a9c6758af24affce1022d0741dbd9daeb"
|
|
46
46
|
]
|
|
47
47
|
}
|
|
48
|
-
x-commit-hash: "
|
|
48
|
+
x-commit-hash: "57bc8ca0eaf5bdb423fcdece49ea0d1c2866f90c"
|
binaryen-archive/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grain/binaryen.ml",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.24.0",
|
|
4
4
|
"description": "OCaml bindings for Binaryen.",
|
|
5
5
|
"author": "Oscar Spencer <oscar@grain-lang.org>",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"ocaml": ">= 4.12.0",
|
|
9
|
-
"@grain/libbinaryen": ">=
|
|
8
|
+
"ocaml": ">= 4.12.0 < 5.0.0",
|
|
9
|
+
"@grain/libbinaryen": ">= 114.0.0 < 115.0.0",
|
|
10
10
|
"@opam/dune": ">= 3.0.0",
|
|
11
11
|
"@opam/dune-configurator": ">= 3.0.0"
|
|
12
12
|
},
|
binaryen-archive/src/passes.ml
CHANGED
|
@@ -387,6 +387,9 @@ let strip_dwarf = "strip-dwarf"
|
|
|
387
387
|
(** strip the wasm producers section *)
|
|
388
388
|
let strip_producers = "strip-producers"
|
|
389
389
|
|
|
390
|
+
(** strip EH instructions *)
|
|
391
|
+
let strip_eh = "strip-eh"
|
|
392
|
+
|
|
390
393
|
(** strip the wasm target features section *)
|
|
391
394
|
let strip_target_features = "strip-target-features"
|
|
392
395
|
|
binaryen-archive/src/passes.mli
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
(type $none_=>_none (func))
|
|
12
12
|
(type $anyref_i32_i32_=>_i32 (func (param anyref i32 i32) (result i32)))
|
|
13
13
|
(type $anyref_=>_i32 (func (param anyref) (result i32)))
|
|
14
|
-
(import "future-wasi" "write" (func $write (param anyref i32 i32) (result i32)))
|
|
14
|
+
(import "future-wasi" "write" (func $write (type $anyref_i32_i32_=>_i32) (param anyref i32 i32) (result i32)))
|
|
15
15
|
(global $max_int64 i64 (i64.const 9223372036854775807))
|
|
16
16
|
(global $max_int64_mut (mut i64) (i64.const 9223372036854775807))
|
|
17
17
|
(global $test_float64_bits f64 (f64.const 1.23))
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
(type $none_=>_none (func))
|
|
72
72
|
(type $anyref_i32_i32_=>_i32 (func (param anyref i32 i32) (result i32)))
|
|
73
73
|
(type $anyref_=>_i32 (func (param anyref) (result i32)))
|
|
74
|
-
(import "future-wasi" "write" (func $write (param anyref i32 i32) (result i32)))
|
|
74
|
+
(import "future-wasi" "write" (func $write (type $anyref_i32_i32_=>_i32) (param anyref i32 i32) (result i32)))
|
|
75
75
|
(memory $0 1)
|
|
76
76
|
(data $0 (i32.const 0) "hello")
|
|
77
77
|
(data $1 "world")
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
(type $type$1 (func (param i32 i32) (result i32)))
|
|
120
120
|
(type $type$2 (func))
|
|
121
121
|
(type $type$3 (func (param anyref) (result i32)))
|
|
122
|
-
(import "future-wasi" "write" (func $fimport$0 (param anyref i32 i32) (result i32)))
|
|
122
|
+
(import "future-wasi" "write" (func $fimport$0 (type $type$0) (param anyref i32 i32) (result i32)))
|
|
123
123
|
(memory $0 1)
|
|
124
124
|
(data $0 (i32.const 0) "hello")
|
|
125
125
|
(data $1 "world")
|
|
@@ -167,7 +167,7 @@
|
|
|
167
167
|
(type $type$1 (func (param i32 i32) (result i32)))
|
|
168
168
|
(type $type$2 (func))
|
|
169
169
|
(type $type$3 (func (param anyref) (result i32)))
|
|
170
|
-
(import "future-wasi" "write" (func $fimport$0 (param anyref i32 i32) (result i32)))
|
|
170
|
+
(import "future-wasi" "write" (func $fimport$0 (type $type$0) (param anyref i32 i32) (result i32)))
|
|
171
171
|
(memory $0 1)
|
|
172
172
|
(data $0 (i32.const 0) "hello")
|
|
173
173
|
(data $1 "world")
|