@grain/binaryen.ml 0.26.0 → 0.28.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.
Files changed (76) hide show
  1. binaryen-archive/CHANGELOG.md +30 -0
  2. binaryen-archive/README.md +3 -2
  3. binaryen-archive/binaryen.opam +4 -3
  4. binaryen-archive/dune +2 -0
  5. binaryen-archive/esy.lock/index.json +638 -584
  6. binaryen-archive/esy.lock/opam/{base.v0.16.4 → base.v0.17.3}/opam +8 -6
  7. binaryen-archive/esy.lock/opam/{chrome-trace.3.18.2 → chrome-trace.3.20.2}/opam +5 -5
  8. binaryen-archive/esy.lock/opam/{dune-build-info.3.18.2 → dune-build-info.3.20.2}/opam +5 -5
  9. binaryen-archive/esy.lock/opam/{dune-configurator.3.18.2 → dune-configurator.3.20.2}/opam +5 -5
  10. binaryen-archive/esy.lock/opam/{dune-rpc.3.18.2 → dune-rpc.3.20.2}/opam +6 -5
  11. binaryen-archive/esy.lock/opam/{dune.3.18.2 → dune.3.20.2}/opam +8 -7
  12. binaryen-archive/esy.lock/opam/{dyn.3.18.2 → dyn.3.20.2}/opam +6 -6
  13. binaryen-archive/esy.lock/opam/{fix.20250428 → fix.20250919}/opam +3 -3
  14. binaryen-archive/esy.lock/opam/{js_of_ocaml-compiler.5.9.1 → js_of_ocaml-compiler.6.2.0}/opam +10 -10
  15. binaryen-archive/esy.lock/opam/jsonrpc.1.23.1/opam +50 -0
  16. binaryen-archive/esy.lock/opam/lsp.1.23.1/opam +60 -0
  17. binaryen-archive/esy.lock/opam/{menhir.20240715 → menhir.20250912}/opam +3 -3
  18. binaryen-archive/esy.lock/opam/{menhirCST.20240715 → menhirCST.20250912}/opam +4 -4
  19. binaryen-archive/esy.lock/opam/{menhirLib.20240715 → menhirLib.20250912}/opam +3 -3
  20. binaryen-archive/esy.lock/opam/{menhirSdk.20240715 → menhirSdk.20250912}/opam +3 -3
  21. binaryen-archive/esy.lock/opam/merlin-lib.5.6-503/opam +36 -0
  22. binaryen-archive/esy.lock/opam/ocaml-compiler-libs.v0.17.0/opam +28 -0
  23. binaryen-archive/esy.lock/opam/{ocaml-lsp-server.1.12.4 → ocaml-lsp-server.1.23.1}/opam +24 -12
  24. binaryen-archive/esy.lock/opam/{ocaml-version.3.5.0 → ocaml-version.4.0.3}/opam +33 -28
  25. binaryen-archive/esy.lock/opam/ocaml_intrinsics_kernel.v0.17.1/opam +30 -0
  26. binaryen-archive/esy.lock/opam/ocamlc-loc.3.20.2/opam +45 -0
  27. binaryen-archive/esy.lock/opam/ocamlformat-lib.0.27.0/opam +68 -0
  28. binaryen-archive/esy.lock/opam/{ocamlformat-rpc-lib.0.27.0 → ocamlformat-rpc-lib.0.28.1}/opam +4 -4
  29. binaryen-archive/esy.lock/opam/ocamlformat.0.27.0/opam +59 -0
  30. binaryen-archive/esy.lock/opam/{ordering.3.18.2 → ordering.3.20.2}/opam +6 -6
  31. binaryen-archive/esy.lock/opam/{ppx_yojson_conv_lib.v0.16.0 → ppx_yojson_conv_lib.v0.17.0}/opam +5 -4
  32. binaryen-archive/esy.lock/opam/{ppxlib.0.35.0 → ppxlib.0.37.0}/opam +5 -5
  33. binaryen-archive/esy.lock/opam/{re.1.12.0 → re.1.14.0}/opam +35 -27
  34. binaryen-archive/esy.lock/opam/{sedlex.3.4 → sedlex.3.7}/opam +3 -3
  35. binaryen-archive/esy.lock/opam/{sexplib0.v0.16.0 → sexplib0.v0.17.0}/opam +9 -4
  36. binaryen-archive/esy.lock/opam/{stdio.v0.16.0 → stdio.v0.17.0}/opam +6 -5
  37. binaryen-archive/esy.lock/opam/{stdune.3.18.2 → stdune.3.20.2}/opam +6 -6
  38. binaryen-archive/esy.lock/opam/{topkg.1.0.8 → topkg.1.1.0}/opam +2 -2
  39. binaryen-archive/esy.lock/opam/{uucp.16.0.0 → uucp.17.0.0}/opam +5 -5
  40. binaryen-archive/esy.lock/opam/{uuseg.16.0.0 → uuseg.17.0.0}/opam +4 -4
  41. binaryen-archive/esy.lock/opam/{xdg.3.18.2 → xdg.3.20.2}/opam +6 -5
  42. binaryen-archive/esy.lock/opam/{yojson.2.2.2 → yojson.3.0.0}/opam +5 -6
  43. binaryen-archive/package.json +6 -6
  44. binaryen-archive/src/expression.js +2 -1
  45. binaryen-archive/src/expression.ml +0 -24
  46. binaryen-archive/src/expression.mli +6 -6
  47. binaryen-archive/src/heap_type.c +0 -21
  48. binaryen-archive/src/heap_type.js +0 -18
  49. binaryen-archive/src/heap_type.ml +0 -6
  50. binaryen-archive/src/heap_type.mli +0 -3
  51. binaryen-archive/src/memory.c +30 -24
  52. binaryen-archive/src/memory.js +17 -11
  53. binaryen-archive/src/memory.ml +23 -12
  54. binaryen-archive/src/memory.mli +4 -4
  55. binaryen-archive/src/module.c +6 -8
  56. binaryen-archive/src/module.js +12 -9
  57. binaryen-archive/src/module.ml +2 -8
  58. binaryen-archive/src/module.mli +2 -2
  59. binaryen-archive/src/op.c +0 -154
  60. binaryen-archive/src/op.js +0 -132
  61. binaryen-archive/src/op.ml +0 -98
  62. binaryen-archive/src/op.mli +0 -22
  63. binaryen-archive/src/type.c +0 -21
  64. binaryen-archive/src/type.js +0 -18
  65. binaryen-archive/src/type.ml +0 -12
  66. binaryen-archive/src/type.mli +0 -3
  67. binaryen-archive/test/dune +1 -2
  68. binaryen-archive/test/test.expected +28 -26
  69. binaryen-archive/test/test.ml +8 -6
  70. binaryen-archive/esy.lock/opam/base-bigarray.base/opam +0 -6
  71. binaryen-archive/esy.lock/opam/ocaml-compiler-libs.v0.12.4/opam +0 -39
  72. binaryen-archive/esy.lock/opam/ocamlformat.0.24.1/opam +0 -57
  73. binaryen-archive/esy.lock/opam/octavius.1.2.2/opam +0 -36
  74. binaryen-archive/esy.lock/opam/odoc-parser.2.0.0/opam +0 -47
  75. binaryen-archive/esy.lock/opam/omd.1.3.2/opam +0 -50
  76. binaryen-archive/esy.lock/opam/result.1.5/opam +0 -25
binaryen-archive/src/op.c CHANGED
@@ -2288,48 +2288,6 @@ caml_binaryen_br_on_cast_fail(value unit) {
2288
2288
  CAMLreturn(alloc_BinaryenOp(op));
2289
2289
  }
2290
2290
 
2291
- CAMLprim value
2292
- caml_binaryen_string_new_utf8(value unit) {
2293
- CAMLparam1(unit);
2294
- BinaryenOp op = BinaryenStringNewUTF8();
2295
- CAMLreturn(alloc_BinaryenOp(op));
2296
- }
2297
-
2298
- CAMLprim value
2299
- caml_binaryen_string_new_wtf8(value unit) {
2300
- CAMLparam1(unit);
2301
- BinaryenOp op = BinaryenStringNewWTF8();
2302
- CAMLreturn(alloc_BinaryenOp(op));
2303
- }
2304
-
2305
- CAMLprim value
2306
- caml_binaryen_string_new_lossy_utf8(value unit) {
2307
- CAMLparam1(unit);
2308
- BinaryenOp op = BinaryenStringNewLossyUTF8();
2309
- CAMLreturn(alloc_BinaryenOp(op));
2310
- }
2311
-
2312
- CAMLprim value
2313
- caml_binaryen_string_new_wtf16(value unit) {
2314
- CAMLparam1(unit);
2315
- BinaryenOp op = BinaryenStringNewWTF16();
2316
- CAMLreturn(alloc_BinaryenOp(op));
2317
- }
2318
-
2319
- CAMLprim value
2320
- caml_binaryen_string_new_utf8_array(value unit) {
2321
- CAMLparam1(unit);
2322
- BinaryenOp op = BinaryenStringNewUTF8Array();
2323
- CAMLreturn(alloc_BinaryenOp(op));
2324
- }
2325
-
2326
- CAMLprim value
2327
- caml_binaryen_string_new_wtf8_array(value unit) {
2328
- CAMLparam1(unit);
2329
- BinaryenOp op = BinaryenStringNewWTF8Array();
2330
- CAMLreturn(alloc_BinaryenOp(op));
2331
- }
2332
-
2333
2291
  CAMLprim value
2334
2292
  caml_binaryen_string_new_lossy_utf8_array(value unit) {
2335
2293
  CAMLparam1(unit);
@@ -2358,13 +2316,6 @@ caml_binaryen_string_measure_utf8(value unit) {
2358
2316
  CAMLreturn(alloc_BinaryenOp(op));
2359
2317
  }
2360
2318
 
2361
- CAMLprim value
2362
- caml_binaryen_string_measure_wtf8(value unit) {
2363
- CAMLparam1(unit);
2364
- BinaryenOp op = BinaryenStringMeasureWTF8();
2365
- CAMLreturn(alloc_BinaryenOp(op));
2366
- }
2367
-
2368
2319
  CAMLprim value
2369
2320
  caml_binaryen_string_measure_wtf16(value unit) {
2370
2321
  CAMLparam1(unit);
@@ -2372,55 +2323,6 @@ caml_binaryen_string_measure_wtf16(value unit) {
2372
2323
  CAMLreturn(alloc_BinaryenOp(op));
2373
2324
  }
2374
2325
 
2375
- CAMLprim value
2376
- caml_binaryen_string_measure_is_usv(value unit) {
2377
- CAMLparam1(unit);
2378
- BinaryenOp op = BinaryenStringMeasureIsUSV();
2379
- CAMLreturn(alloc_BinaryenOp(op));
2380
- }
2381
-
2382
- CAMLprim value
2383
- caml_binaryen_string_measure_wtf16_view(value unit) {
2384
- CAMLparam1(unit);
2385
- BinaryenOp op = BinaryenStringMeasureWTF16View();
2386
- CAMLreturn(alloc_BinaryenOp(op));
2387
- }
2388
-
2389
- CAMLprim value
2390
- caml_binaryen_string_encode_utf8(value unit) {
2391
- CAMLparam1(unit);
2392
- BinaryenOp op = BinaryenStringEncodeUTF8();
2393
- CAMLreturn(alloc_BinaryenOp(op));
2394
- }
2395
-
2396
- CAMLprim value
2397
- caml_binaryen_string_encode_lossy_utf8(value unit) {
2398
- CAMLparam1(unit);
2399
- BinaryenOp op = BinaryenStringEncodeLossyUTF8();
2400
- CAMLreturn(alloc_BinaryenOp(op));
2401
- }
2402
-
2403
- CAMLprim value
2404
- caml_binaryen_string_encode_wtf8(value unit) {
2405
- CAMLparam1(unit);
2406
- BinaryenOp op = BinaryenStringEncodeWTF8();
2407
- CAMLreturn(alloc_BinaryenOp(op));
2408
- }
2409
-
2410
- CAMLprim value
2411
- caml_binaryen_string_encode_wtf16(value unit) {
2412
- CAMLparam1(unit);
2413
- BinaryenOp op = BinaryenStringEncodeWTF16();
2414
- CAMLreturn(alloc_BinaryenOp(op));
2415
- }
2416
-
2417
- CAMLprim value
2418
- caml_binaryen_string_encode_utf8_array(value unit) {
2419
- CAMLparam1(unit);
2420
- BinaryenOp op = BinaryenStringEncodeUTF8Array();
2421
- CAMLreturn(alloc_BinaryenOp(op));
2422
- }
2423
-
2424
2326
  CAMLprim value
2425
2327
  caml_binaryen_string_encode_lossy_utf8_array(value unit) {
2426
2328
  CAMLparam1(unit);
@@ -2428,13 +2330,6 @@ caml_binaryen_string_encode_lossy_utf8_array(value unit) {
2428
2330
  CAMLreturn(alloc_BinaryenOp(op));
2429
2331
  }
2430
2332
 
2431
- CAMLprim value
2432
- caml_binaryen_string_encode_wtf8_array(value unit) {
2433
- CAMLparam1(unit);
2434
- BinaryenOp op = BinaryenStringEncodeWTF8Array();
2435
- CAMLreturn(alloc_BinaryenOp(op));
2436
- }
2437
-
2438
2333
  CAMLprim value
2439
2334
  caml_binaryen_string_encode_wtf16_array(value unit) {
2440
2335
  CAMLparam1(unit);
@@ -2442,55 +2337,6 @@ caml_binaryen_string_encode_wtf16_array(value unit) {
2442
2337
  CAMLreturn(alloc_BinaryenOp(op));
2443
2338
  }
2444
2339
 
2445
- CAMLprim value
2446
- caml_binaryen_string_as_wtf8(value unit) {
2447
- CAMLparam1(unit);
2448
- BinaryenOp op = BinaryenStringAsWTF8();
2449
- CAMLreturn(alloc_BinaryenOp(op));
2450
- }
2451
-
2452
- CAMLprim value
2453
- caml_binaryen_string_as_wtf16(value unit) {
2454
- CAMLparam1(unit);
2455
- BinaryenOp op = BinaryenStringAsWTF16();
2456
- CAMLreturn(alloc_BinaryenOp(op));
2457
- }
2458
-
2459
- CAMLprim value
2460
- caml_binaryen_string_as_iter(value unit) {
2461
- CAMLparam1(unit);
2462
- BinaryenOp op = BinaryenStringAsIter();
2463
- CAMLreturn(alloc_BinaryenOp(op));
2464
- }
2465
-
2466
- CAMLprim value
2467
- caml_binaryen_string_iter_move_advance(value unit) {
2468
- CAMLparam1(unit);
2469
- BinaryenOp op = BinaryenStringIterMoveAdvance();
2470
- CAMLreturn(alloc_BinaryenOp(op));
2471
- }
2472
-
2473
- CAMLprim value
2474
- caml_binaryen_string_iter_move_rewind(value unit) {
2475
- CAMLparam1(unit);
2476
- BinaryenOp op = BinaryenStringIterMoveRewind();
2477
- CAMLreturn(alloc_BinaryenOp(op));
2478
- }
2479
-
2480
- CAMLprim value
2481
- caml_binaryen_string_slice_wtf8(value unit) {
2482
- CAMLparam1(unit);
2483
- BinaryenOp op = BinaryenStringSliceWTF8();
2484
- CAMLreturn(alloc_BinaryenOp(op));
2485
- }
2486
-
2487
- CAMLprim value
2488
- caml_binaryen_string_slice_wtf16(value unit) {
2489
- CAMLparam1(unit);
2490
- BinaryenOp op = BinaryenStringSliceWTF16();
2491
- CAMLreturn(alloc_BinaryenOp(op));
2492
- }
2493
-
2494
2340
  CAMLprim value
2495
2341
  caml_binaryen_string_eq_equal(value unit) {
2496
2342
  CAMLparam1(unit);
@@ -1954,42 +1954,6 @@ function caml_binaryen_br_on_cast_fail() {
1954
1954
  return Binaryen.Operations.BrOnCastFail;
1955
1955
  }
1956
1956
 
1957
- //Provides: caml_binaryen_string_new_utf8
1958
- //Requires: Binaryen
1959
- function caml_binaryen_string_new_utf8() {
1960
- return Binaryen.Operations.StringNewUTF8;
1961
- }
1962
-
1963
- //Provides: caml_binaryen_string_new_wtf8
1964
- //Requires: Binaryen
1965
- function caml_binaryen_string_new_wtf8() {
1966
- return Binaryen.Operations.StringNewWTF8;
1967
- }
1968
-
1969
- //Provides: caml_binaryen_string_new_lossy_utf8
1970
- //Requires: Binaryen
1971
- function caml_binaryen_string_new_lossy_utf8() {
1972
- return Binaryen.Operations.StringNewLossyUTF8;
1973
- }
1974
-
1975
- //Provides: caml_binaryen_string_new_wtf16
1976
- //Requires: Binaryen
1977
- function caml_binaryen_string_new_wtf16() {
1978
- return Binaryen.Operations.StringNewWTF16;
1979
- }
1980
-
1981
- //Provides: caml_binaryen_string_new_utf8_array
1982
- //Requires: Binaryen
1983
- function caml_binaryen_string_new_utf8_array() {
1984
- return Binaryen.Operations.StringNewUTF8Array;
1985
- }
1986
-
1987
- //Provides: caml_binaryen_string_new_wtf8_array
1988
- //Requires: Binaryen
1989
- function caml_binaryen_string_new_wtf8_array() {
1990
- return Binaryen.Operations.StringNewWTF8Array;
1991
- }
1992
-
1993
1957
  //Provides: caml_binaryen_string_new_lossy_utf8_array
1994
1958
  //Requires: Binaryen
1995
1959
  function caml_binaryen_string_new_lossy_utf8_array() {
@@ -2014,120 +1978,24 @@ function caml_binaryen_string_measure_utf8() {
2014
1978
  return Binaryen.Operations.StringMeasureUTF8;
2015
1979
  }
2016
1980
 
2017
- //Provides: caml_binaryen_string_measure_wtf8
2018
- //Requires: Binaryen
2019
- function caml_binaryen_string_measure_wtf8() {
2020
- return Binaryen.Operations.StringMeasureWTF8;
2021
- }
2022
-
2023
1981
  //Provides: caml_binaryen_string_measure_wtf16
2024
1982
  //Requires: Binaryen
2025
1983
  function caml_binaryen_string_measure_wtf16() {
2026
1984
  return Binaryen.Operations.StringMeasureWTF16;
2027
1985
  }
2028
1986
 
2029
- //Provides: caml_binaryen_string_measure_is_usv
2030
- //Requires: Binaryen
2031
- function caml_binaryen_string_measure_is_usv() {
2032
- return Binaryen.Operations.StringMeasureIsUSV;
2033
- }
2034
-
2035
- //Provides: caml_binaryen_string_measure_wtf16_view
2036
- //Requires: Binaryen
2037
- function caml_binaryen_string_measure_wtf16_view() {
2038
- return Binaryen.Operations.StringMeasureWTF16View;
2039
- }
2040
-
2041
- //Provides: caml_binaryen_string_encode_utf8
2042
- //Requires: Binaryen
2043
- function caml_binaryen_string_encode_utf8() {
2044
- return Binaryen.Operations.StringEncodeUTF8;
2045
- }
2046
-
2047
- //Provides: caml_binaryen_string_encode_lossy_utf8
2048
- //Requires: Binaryen
2049
- function caml_binaryen_string_encode_lossy_utf8() {
2050
- return Binaryen.Operations.StringEncodeLossyUTF8;
2051
- }
2052
-
2053
- //Provides: caml_binaryen_string_encode_wtf8
2054
- //Requires: Binaryen
2055
- function caml_binaryen_string_encode_wtf8() {
2056
- return Binaryen.Operations.StringEncodeWTF8;
2057
- }
2058
-
2059
- //Provides: caml_binaryen_string_encode_wtf16
2060
- //Requires: Binaryen
2061
- function caml_binaryen_string_encode_wtf16() {
2062
- return Binaryen.Operations.StringEncodeWTF16;
2063
- }
2064
-
2065
- //Provides: caml_binaryen_string_encode_utf8_array
2066
- //Requires: Binaryen
2067
- function caml_binaryen_string_encode_utf8_array() {
2068
- return Binaryen.Operations.StringEncodeUTF8Array;
2069
- }
2070
-
2071
1987
  //Provides: caml_binaryen_string_encode_lossy_utf8_array
2072
1988
  //Requires: Binaryen
2073
1989
  function caml_binaryen_string_encode_lossy_utf8_array() {
2074
1990
  return Binaryen.Operations.StringEncodeLossyUTF8Array;
2075
1991
  }
2076
1992
 
2077
- //Provides: caml_binaryen_string_encode_wtf8_array
2078
- //Requires: Binaryen
2079
- function caml_binaryen_string_encode_wtf8_array() {
2080
- return Binaryen.Operations.StringEncodeWTF8Array;
2081
- }
2082
-
2083
1993
  //Provides: caml_binaryen_string_encode_wtf16_array
2084
1994
  //Requires: Binaryen
2085
1995
  function caml_binaryen_string_encode_wtf16_array() {
2086
1996
  return Binaryen.Operations.StringEncodeWTF16Array;
2087
1997
  }
2088
1998
 
2089
- //Provides: caml_binaryen_string_as_wtf8
2090
- //Requires: Binaryen
2091
- function caml_binaryen_string_as_wtf8() {
2092
- return Binaryen.Operations.StringAsWTF8;
2093
- }
2094
-
2095
- //Provides: caml_binaryen_string_as_wtf16
2096
- //Requires: Binaryen
2097
- function caml_binaryen_string_as_wtf16() {
2098
- return Binaryen.Operations.StringAsWTF16;
2099
- }
2100
-
2101
- //Provides: caml_binaryen_string_as_iter
2102
- //Requires: Binaryen
2103
- function caml_binaryen_string_as_iter() {
2104
- return Binaryen.Operations.StringAsIter;
2105
- }
2106
-
2107
- //Provides: caml_binaryen_string_iter_move_advance
2108
- //Requires: Binaryen
2109
- function caml_binaryen_string_iter_move_advance() {
2110
- return Binaryen.Operations.StringIterMoveAdvance;
2111
- }
2112
-
2113
- //Provides: caml_binaryen_string_iter_move_rewind
2114
- //Requires: Binaryen
2115
- function caml_binaryen_string_iter_move_rewind() {
2116
- return Binaryen.Operations.StringIterMoveRewind;
2117
- }
2118
-
2119
- //Provides: caml_binaryen_string_slice_wtf8
2120
- //Requires: Binaryen
2121
- function caml_binaryen_string_slice_wtf8() {
2122
- return Binaryen.Operations.StringSliceWTF8;
2123
- }
2124
-
2125
- //Provides: caml_binaryen_string_slice_wtf16
2126
- //Requires: Binaryen
2127
- function caml_binaryen_string_slice_wtf16() {
2128
- return Binaryen.Operations.StringSliceWTF16;
2129
- }
2130
-
2131
1999
  //Provides: caml_binaryen_string_eq_equal
2132
2000
  //Requires: Binaryen
2133
2001
  function caml_binaryen_string_eq_equal() {
@@ -1358,33 +1358,6 @@ external br_on_cast_fail : unit -> t = "caml_binaryen_br_on_cast_fail"
1358
1358
 
1359
1359
  let br_on_cast_fail = br_on_cast_fail ()
1360
1360
 
1361
- external string_new_utf8 : unit -> t = "caml_binaryen_string_new_utf8"
1362
-
1363
- let string_new_utf8 = string_new_utf8 ()
1364
-
1365
- external string_new_wtf8 : unit -> t = "caml_binaryen_string_new_wtf8"
1366
-
1367
- let string_new_wtf8 = string_new_wtf8 ()
1368
-
1369
- external string_new_lossy_utf8 : unit -> t
1370
- = "caml_binaryen_string_new_lossy_utf8"
1371
-
1372
- let string_new_lossy_utf8 = string_new_lossy_utf8 ()
1373
-
1374
- external string_new_wtf16 : unit -> t = "caml_binaryen_string_new_wtf16"
1375
-
1376
- let string_new_wtf16 = string_new_wtf16 ()
1377
-
1378
- external string_new_utf8_array : unit -> t
1379
- = "caml_binaryen_string_new_utf8_array"
1380
-
1381
- let string_new_utf8_array = string_new_utf8_array ()
1382
-
1383
- external string_new_wtf8_array : unit -> t
1384
- = "caml_binaryen_string_new_wtf8_array"
1385
-
1386
- let string_new_wtf8_array = string_new_wtf8_array ()
1387
-
1388
1361
  external string_new_lossy_utf8_array : unit -> t
1389
1362
  = "caml_binaryen_string_new_lossy_utf8_array"
1390
1363
 
@@ -1404,91 +1377,20 @@ external string_measure_utf8 : unit -> t = "caml_binaryen_string_measure_utf8"
1404
1377
 
1405
1378
  let string_measure_utf8 = string_measure_utf8 ()
1406
1379
 
1407
- external string_measure_wtf8 : unit -> t = "caml_binaryen_string_measure_wtf8"
1408
-
1409
- let string_measure_wtf8 = string_measure_wtf8 ()
1410
-
1411
1380
  external string_measure_wtf16 : unit -> t = "caml_binaryen_string_measure_wtf16"
1412
1381
 
1413
1382
  let string_measure_wtf16 = string_measure_wtf16 ()
1414
1383
 
1415
- external string_measure_is_usv : unit -> t
1416
- = "caml_binaryen_string_measure_is_usv"
1417
-
1418
- let string_measure_is_usv = string_measure_is_usv ()
1419
-
1420
- external string_measure_wtf16_view : unit -> t
1421
- = "caml_binaryen_string_measure_wtf16_view"
1422
-
1423
- let string_measure_wtf16_view = string_measure_wtf16_view ()
1424
-
1425
- external string_encode_utf8 : unit -> t = "caml_binaryen_string_encode_utf8"
1426
-
1427
- let string_encode_utf8 = string_encode_utf8 ()
1428
-
1429
- external string_encode_lossy_utf8 : unit -> t
1430
- = "caml_binaryen_string_encode_lossy_utf8"
1431
-
1432
- let string_encode_lossy_utf8 = string_encode_lossy_utf8 ()
1433
-
1434
- external string_encode_wtf8 : unit -> t = "caml_binaryen_string_encode_wtf8"
1435
-
1436
- let string_encode_wtf8 = string_encode_wtf8 ()
1437
-
1438
- external string_encode_wtf16 : unit -> t = "caml_binaryen_string_encode_wtf16"
1439
-
1440
- let string_encode_wtf16 = string_encode_wtf16 ()
1441
-
1442
- external string_encode_utf8_array : unit -> t
1443
- = "caml_binaryen_string_encode_utf8_array"
1444
-
1445
- let string_encode_utf8_array = string_encode_utf8_array ()
1446
-
1447
1384
  external string_encode_lossy_utf8_array : unit -> t
1448
1385
  = "caml_binaryen_string_encode_lossy_utf8_array"
1449
1386
 
1450
1387
  let string_encode_lossy_utf8_array = string_encode_lossy_utf8_array ()
1451
1388
 
1452
- external string_encode_wtf8_array : unit -> t
1453
- = "caml_binaryen_string_encode_wtf8_array"
1454
-
1455
- let string_encode_wtf8_array = string_encode_wtf8_array ()
1456
-
1457
1389
  external string_encode_wtf16_array : unit -> t
1458
1390
  = "caml_binaryen_string_encode_wtf16_array"
1459
1391
 
1460
1392
  let string_encode_wtf16_array = string_encode_wtf16_array ()
1461
1393
 
1462
- external string_as_wtf8 : unit -> t = "caml_binaryen_string_as_wtf8"
1463
-
1464
- let string_as_wtf8 = string_as_wtf8 ()
1465
-
1466
- external string_as_wtf16 : unit -> t = "caml_binaryen_string_as_wtf16"
1467
-
1468
- let string_as_wtf16 = string_as_wtf16 ()
1469
-
1470
- external string_as_iter : unit -> t = "caml_binaryen_string_as_iter"
1471
-
1472
- let string_as_iter = string_as_iter ()
1473
-
1474
- external string_iter_move_advance : unit -> t
1475
- = "caml_binaryen_string_iter_move_advance"
1476
-
1477
- let string_iter_move_advance = string_iter_move_advance ()
1478
-
1479
- external string_iter_move_rewind : unit -> t
1480
- = "caml_binaryen_string_iter_move_rewind"
1481
-
1482
- let string_iter_move_rewind = string_iter_move_rewind ()
1483
-
1484
- external string_slice_wtf8 : unit -> t = "caml_binaryen_string_slice_wtf8"
1485
-
1486
- let string_slice_wtf8 = string_slice_wtf8 ()
1487
-
1488
- external string_slice_wtf16 : unit -> t = "caml_binaryen_string_slice_wtf16"
1489
-
1490
- let string_slice_wtf16 = string_slice_wtf16 ()
1491
-
1492
1394
  external string_eq_equal : unit -> t = "caml_binaryen_string_eq_equal"
1493
1395
 
1494
1396
  let string_eq_equal = string_eq_equal ()
@@ -326,34 +326,12 @@ val br_on_null : t
326
326
  val br_on_non_null : t
327
327
  val br_on_cast : t
328
328
  val br_on_cast_fail : t
329
- val string_new_utf8 : t
330
- val string_new_wtf8 : t
331
- val string_new_lossy_utf8 : t
332
- val string_new_wtf16 : t
333
- val string_new_utf8_array : t
334
- val string_new_wtf8_array : t
335
329
  val string_new_wtf16_array : t
336
330
  val string_new_from_code_point : t
337
331
  val string_measure_utf8 : t
338
- val string_measure_wtf8 : t
339
332
  val string_new_lossy_utf8_array : t
340
333
  val string_measure_wtf16 : t
341
- val string_measure_is_usv : t
342
- val string_measure_wtf16_view : t
343
- val string_encode_utf8 : t
344
- val string_encode_lossy_utf8 : t
345
- val string_encode_wtf8 : t
346
- val string_encode_wtf16 : t
347
- val string_encode_utf8_array : t
348
334
  val string_encode_lossy_utf8_array : t
349
- val string_encode_wtf8_array : t
350
335
  val string_encode_wtf16_array : t
351
- val string_as_wtf8 : t
352
- val string_as_wtf16 : t
353
- val string_as_iter : t
354
- val string_iter_move_advance : t
355
- val string_iter_move_rewind : t
356
- val string_slice_wtf8 : t
357
- val string_slice_wtf16 : t
358
336
  val string_eq_equal : t
359
337
  val string_eq_compare : t
@@ -97,27 +97,6 @@ caml_binaryen_type_stringref(value unit) {
97
97
  CAMLreturn(alloc_BinaryenType(ty));
98
98
  }
99
99
 
100
- CAMLprim value
101
- caml_binaryen_type_stringview_wtf8(value unit) {
102
- CAMLparam1(unit);
103
- BinaryenType ty = BinaryenTypeStringviewWTF8();
104
- CAMLreturn(alloc_BinaryenType(ty));
105
- }
106
-
107
- CAMLprim value
108
- caml_binaryen_type_stringview_wtf16(value unit) {
109
- CAMLparam1(unit);
110
- BinaryenType ty = BinaryenTypeStringviewWTF16();
111
- CAMLreturn(alloc_BinaryenType(ty));
112
- }
113
-
114
- CAMLprim value
115
- caml_binaryen_type_stringview_iter(value unit) {
116
- CAMLparam1(unit);
117
- BinaryenType ty = BinaryenTypeStringviewIter();
118
- CAMLreturn(alloc_BinaryenType(ty));
119
- }
120
-
121
100
  CAMLprim value
122
101
  caml_binaryen_type_nullref(value unit) {
123
102
  CAMLparam1(unit);
@@ -77,24 +77,6 @@ function caml_binaryen_type_stringref() {
77
77
  return Binaryen.stringref;
78
78
  }
79
79
 
80
- //Provides: caml_binaryen_type_stringview_wtf8
81
- //Requires: Binaryen
82
- function caml_binaryen_type_stringview_wtf8() {
83
- return Binaryen.stringview_wtf8;
84
- }
85
-
86
- //Provides: caml_binaryen_type_stringview_wtf16
87
- //Requires: Binaryen
88
- function caml_binaryen_type_stringview_wtf16() {
89
- return Binaryen.stringview_wtf16;
90
- }
91
-
92
- //Provides: caml_binaryen_type_stringview_iter
93
- //Requires: Binaryen
94
- function caml_binaryen_type_stringview_iter() {
95
- return Binaryen.stringview_iter;
96
- }
97
-
98
80
  //Provides: caml_binaryen_type_nullref
99
81
  //Requires: Binaryen
100
82
  function caml_binaryen_type_nullref() {
@@ -52,18 +52,6 @@ external stringref : unit -> t = "caml_binaryen_type_stringref"
52
52
 
53
53
  let stringref = stringref ()
54
54
 
55
- external stringview_wtf8 : unit -> t = "caml_binaryen_type_stringview_wtf8"
56
-
57
- let stringview_wtf8 = stringview_wtf8 ()
58
-
59
- external stringview_wtf16 : unit -> t = "caml_binaryen_type_stringview_wtf16"
60
-
61
- let stringview_wtf16 = stringview_wtf16 ()
62
-
63
- external stringview_iter : unit -> t = "caml_binaryen_type_stringview_iter"
64
-
65
- let stringview_iter = stringview_iter ()
66
-
67
55
  external nullref : unit -> t = "caml_binaryen_type_nullref"
68
56
 
69
57
  let nullref = nullref ()
@@ -13,9 +13,6 @@ val i31ref : t
13
13
  val structref : t
14
14
  val arrayref : t
15
15
  val stringref : t
16
- val stringview_wtf8 : t
17
- val stringview_wtf16 : t
18
- val stringview_iter : t
19
16
  val nullref : t
20
17
  val null_externref : t
21
18
  val null_funcref : t
@@ -4,8 +4,7 @@
4
4
  (modes exe js)
5
5
  (flags
6
6
  :standard
7
- (:include ./config/ocamlopt_flags.sexp))
8
- (js_of_ocaml))
7
+ (:include ./config/ocamlopt_flags.sexp)))
9
8
 
10
9
  (rule
11
10
  (alias runtest)