@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.
@@ -31,10 +31,10 @@ build: [
31
31
  ]
32
32
  url {
33
33
  src:
34
- "https://github.com/ocaml/dune/releases/download/3.10.0/dune-3.10.0.tbz"
34
+ "https://github.com/ocaml/dune/releases/download/3.11.1/dune-3.11.1.tbz"
35
35
  checksum: [
36
- "sha256=9ff03384a98a8df79852cc674f0b4738ba8aec17029b6e2eeb514f895e710355"
37
- "sha512=8133cdcc5499a6bf21cd65b4fc8b12445ae39366731006773fcd3b348c553a8d89d004db161c655aa167a2a3653b7919d32b27f29217106ef762bd01b43afc76"
36
+ "sha256=866f2307adadaf7604f3bf9d98bb4098792baa046953a6726c96c40fc5ed3f71"
37
+ "sha512=c888153b204a16bcfed2636de776bbd5f9ca84484e716cc1e9ef3ba3c904e9dd15a2609ae943cddb6097912623ec54618c58386d6730ff742d746850400fb3cc"
38
38
  ]
39
39
  }
40
- x-commit-hash: "fc382520272012638088848d7f3dd1ef6687a284"
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.10.0/dune-3.10.0.tbz"
40
+ "https://github.com/ocaml/dune/releases/download/3.11.1/dune-3.11.1.tbz"
41
41
  checksum: [
42
- "sha256=9ff03384a98a8df79852cc674f0b4738ba8aec17029b6e2eeb514f895e710355"
43
- "sha512=8133cdcc5499a6bf21cd65b4fc8b12445ae39366731006773fcd3b348c553a8d89d004db161c655aa167a2a3653b7919d32b27f29217106ef762bd01b43afc76"
42
+ "sha256=866f2307adadaf7604f3bf9d98bb4098792baa046953a6726c96c40fc5ed3f71"
43
+ "sha512=c888153b204a16bcfed2636de776bbd5f9ca84484e716cc1e9ef3ba3c904e9dd15a2609ae943cddb6097912623ec54618c58386d6730ff742d746850400fb3cc"
44
44
  ]
45
45
  }
46
- x-commit-hash: "fc382520272012638088848d7f3dd1ef6687a284"
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.10.0/dune-3.10.0.tbz"
44
+ "https://github.com/ocaml/dune/releases/download/3.11.1/dune-3.11.1.tbz"
45
45
  checksum: [
46
- "sha256=9ff03384a98a8df79852cc674f0b4738ba8aec17029b6e2eeb514f895e710355"
47
- "sha512=8133cdcc5499a6bf21cd65b4fc8b12445ae39366731006773fcd3b348c553a8d89d004db161c655aa167a2a3653b7919d32b27f29217106ef762bd01b43afc76"
46
+ "sha256=866f2307adadaf7604f3bf9d98bb4098792baa046953a6726c96c40fc5ed3f71"
47
+ "sha512=c888153b204a16bcfed2636de776bbd5f9ca84484e716cc1e9ef3ba3c904e9dd15a2609ae943cddb6097912623ec54618c58386d6730ff742d746850400fb3cc"
48
48
  ]
49
49
  }
50
- x-commit-hash: "fc382520272012638088848d7f3dd1ef6687a284"
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.10.0/dune-3.10.0.tbz"
38
+ "https://github.com/ocaml/dune/releases/download/3.11.1/dune-3.11.1.tbz"
39
39
  checksum: [
40
- "sha256=9ff03384a98a8df79852cc674f0b4738ba8aec17029b6e2eeb514f895e710355"
41
- "sha512=8133cdcc5499a6bf21cd65b4fc8b12445ae39366731006773fcd3b348c553a8d89d004db161c655aa167a2a3653b7919d32b27f29217106ef762bd01b43afc76"
40
+ "sha256=866f2307adadaf7604f3bf9d98bb4098792baa046953a6726c96c40fc5ed3f71"
41
+ "sha512=c888153b204a16bcfed2636de776bbd5f9ca84484e716cc1e9ef3ba3c904e9dd15a2609ae943cddb6097912623ec54618c58386d6730ff742d746850400fb3cc"
42
42
  ]
43
43
  }
44
- x-commit-hash: "fc382520272012638088848d7f3dd1ef6687a284"
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.10.0/dune-3.10.0.tbz"
51
+ "https://github.com/ocaml/dune/releases/download/3.11.1/dune-3.11.1.tbz"
52
52
  checksum: [
53
- "sha256=9ff03384a98a8df79852cc674f0b4738ba8aec17029b6e2eeb514f895e710355"
54
- "sha512=8133cdcc5499a6bf21cd65b4fc8b12445ae39366731006773fcd3b348c553a8d89d004db161c655aa167a2a3653b7919d32b27f29217106ef762bd01b43afc76"
53
+ "sha256=866f2307adadaf7604f3bf9d98bb4098792baa046953a6726c96c40fc5ed3f71"
54
+ "sha512=c888153b204a16bcfed2636de776bbd5f9ca84484e716cc1e9ef3ba3c904e9dd15a2609ae943cddb6097912623ec54618c58386d6730ff742d746850400fb3cc"
55
55
  ]
56
56
  }
57
- x-commit-hash: "fc382520272012638088848d7f3dd1ef6687a284"
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.10.0/dune-3.10.0.tbz"
35
+ "https://github.com/ocaml/dune/releases/download/3.11.1/dune-3.11.1.tbz"
36
36
  checksum: [
37
- "sha256=9ff03384a98a8df79852cc674f0b4738ba8aec17029b6e2eeb514f895e710355"
38
- "sha512=8133cdcc5499a6bf21cd65b4fc8b12445ae39366731006773fcd3b348c553a8d89d004db161c655aa167a2a3653b7919d32b27f29217106ef762bd01b43afc76"
37
+ "sha256=866f2307adadaf7604f3bf9d98bb4098792baa046953a6726c96c40fc5ed3f71"
38
+ "sha512=c888153b204a16bcfed2636de776bbd5f9ca84484e716cc1e9ef3ba3c904e9dd15a2609ae943cddb6097912623ec54618c58386d6730ff742d746850400fb3cc"
39
39
  ]
40
40
  }
41
- x-commit-hash: "fc382520272012638088848d7f3dd1ef6687a284"
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.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.10.0/dune-3.10.0.tbz"
33
+ "https://github.com/ocaml/dune/releases/download/3.11.1/dune-3.11.1.tbz"
34
34
  checksum: [
35
- "sha256=9ff03384a98a8df79852cc674f0b4738ba8aec17029b6e2eeb514f895e710355"
36
- "sha512=8133cdcc5499a6bf21cd65b4fc8b12445ae39366731006773fcd3b348c553a8d89d004db161c655aa167a2a3653b7919d32b27f29217106ef762bd01b43afc76"
35
+ "sha256=866f2307adadaf7604f3bf9d98bb4098792baa046953a6726c96c40fc5ed3f71"
36
+ "sha512=c888153b204a16bcfed2636de776bbd5f9ca84484e716cc1e9ef3ba3c904e9dd15a2609ae943cddb6097912623ec54618c58386d6730ff742d746850400fb3cc"
37
37
  ]
38
38
  }
39
- x-commit-hash: "fc382520272012638088848d7f3dd1ef6687a284"
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.1.0"}
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.10.0/dune-3.10.0.tbz"
39
+ "https://github.com/ocaml/dune/releases/download/3.11.1/dune-3.11.1.tbz"
40
40
  checksum: [
41
- "sha256=9ff03384a98a8df79852cc674f0b4738ba8aec17029b6e2eeb514f895e710355"
42
- "sha512=8133cdcc5499a6bf21cd65b4fc8b12445ae39366731006773fcd3b348c553a8d89d004db161c655aa167a2a3653b7919d32b27f29217106ef762bd01b43afc76"
41
+ "sha256=866f2307adadaf7604f3bf9d98bb4098792baa046953a6726c96c40fc5ed3f71"
42
+ "sha512=c888153b204a16bcfed2636de776bbd5f9ca84484e716cc1e9ef3ba3c904e9dd15a2609ae943cddb6097912623ec54618c58386d6730ff742d746850400fb3cc"
43
43
  ]
44
44
  }
45
- x-commit-hash: "fc382520272012638088848d7f3dd1ef6687a284"
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.10.0/dune-3.10.0.tbz"
34
+ "https://github.com/ocaml/dune/releases/download/3.11.1/dune-3.11.1.tbz"
35
35
  checksum: [
36
- "sha256=9ff03384a98a8df79852cc674f0b4738ba8aec17029b6e2eeb514f895e710355"
37
- "sha512=8133cdcc5499a6bf21cd65b4fc8b12445ae39366731006773fcd3b348c553a8d89d004db161c655aa167a2a3653b7919d32b27f29217106ef762bd01b43afc76"
36
+ "sha256=866f2307adadaf7604f3bf9d98bb4098792baa046953a6726c96c40fc5ed3f71"
37
+ "sha512=c888153b204a16bcfed2636de776bbd5f9ca84484e716cc1e9ef3ba3c904e9dd15a2609ae943cddb6097912623ec54618c58386d6730ff742d746850400fb3cc"
38
38
  ]
39
39
  }
40
- x-commit-hash: "fc382520272012638088848d7f3dd1ef6687a284"
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.0/yojson-2.1.0.tbz"
42
+ "https://github.com/ocaml-community/yojson/releases/download/2.1.1/yojson-2.1.1.tbz"
43
43
  checksum: [
44
- "sha256=9fcb1ff2db58ab259f9228796b0ada4794eae97177b1833371380c4e4f90b15d"
45
- "sha512=31ab8580e0e4e8a05459fbec2fb9424a3df4cf5aef6df21fc577dbe3d32e81103a632c6a511c4dcf1f51819e88b38d2ce7d6888545bc3f359e69e070f8d2e69c"
44
+ "sha256=d58183207b198dc065866239066e074c34f9e139c0d9c4175a38809790e88173"
45
+ "sha512=f7b8529900acb29bc6236d8312d3ebcadbcb3f9d361c8acaed9f7fc7e30527b41a1f3cff80382dde445e6da18a4edc5a9c6758af24affce1022d0741dbd9daeb"
46
46
  ]
47
47
  }
48
- x-commit-hash: "42fa0887cb870bdbd1751d98cd23f99d6b29751d"
48
+ x-commit-hash: "57bc8ca0eaf5bdb423fcdece49ea0d1c2866f90c"
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@grain/binaryen.ml",
3
- "version": "0.23.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": ">= 113.0.0 < 114.0.0",
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
  },
@@ -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
 
@@ -384,6 +384,9 @@ val strip_dwarf : t
384
384
  val strip_producers : t
385
385
  (** strip the wasm producers section *)
386
386
 
387
+ val strip_eh : t
388
+ (** strip EH instructions *)
389
+
387
390
  val strip_target_features : t
388
391
  (** strip the wasm target features section *)
389
392
 
@@ -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")
@@ -248,6 +248,7 @@ let _ =
248
248
  Passes.monomorphize;
249
249
  Passes.signext_lowering;
250
250
  Passes.discard_global_effects;
251
+ Passes.strip_eh;
251
252
  ]
252
253
 
253
254
  let _ =