Skip to content

Implement type imports and exports #7330

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 19 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
Test updates
  • Loading branch information
vouillon committed Feb 26, 2025
commit 9e527ef5b4d1dc2b26ddd48c6e7f12315fe58e9c
2 changes: 1 addition & 1 deletion test/example/c-api-kitchen-sink.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ BinaryenFeatureMemory64: 2048
BinaryenFeatureRelaxedSIMD: 4096
BinaryenFeatureExtendedConst: 8192
BinaryenFeatureStrings: 16384
BinaryenFeatureAll: 2097151
BinaryenFeatureAll: 4194303
(f32.neg
(f32.const -33.61199951171875)
)
Expand Down
2 changes: 2 additions & 0 deletions test/lit/help/wasm-merge.test
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
;; CHECK-NEXT: --skip-export-conflicts,-sec Skip exports that conflict with previous
;; CHECK-NEXT: ones
;; CHECK-NEXT:
;; CHECK-NEXT: --strip-type-exports,-ste Do not emit type exports
;; CHECK-NEXT:
;; CHECK-NEXT: --emit-text,-S Emit text instead of binary for the
;; CHECK-NEXT: output file
;; CHECK-NEXT:
Expand Down
2 changes: 2 additions & 0 deletions test/lit/help/wasm-metadce.test
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,8 @@
;; CHECK-NEXT: --strip-target-features strip the wasm target features
;; CHECK-NEXT: section
;; CHECK-NEXT:
;; CHECK-NEXT: --strip-type-exports strip the wasm type exports
;; CHECK-NEXT:
;; CHECK-NEXT: --stub-unsupported-js stub out unsupported JS
;; CHECK-NEXT: operations
;; CHECK-NEXT:
Expand Down
2 changes: 2 additions & 0 deletions test/lit/help/wasm-opt.test
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,8 @@
;; CHECK-NEXT: --strip-target-features strip the wasm target features
;; CHECK-NEXT: section
;; CHECK-NEXT:
;; CHECK-NEXT: --strip-type-exports strip the wasm type exports
;; CHECK-NEXT:
;; CHECK-NEXT: --stub-unsupported-js stub out unsupported JS
;; CHECK-NEXT: operations
;; CHECK-NEXT:
Expand Down
2 changes: 2 additions & 0 deletions test/lit/help/wasm2js.test
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,8 @@
;; CHECK-NEXT: --strip-target-features strip the wasm target features
;; CHECK-NEXT: section
;; CHECK-NEXT:
;; CHECK-NEXT: --strip-type-exports strip the wasm type exports
;; CHECK-NEXT:
;; CHECK-NEXT: --stub-unsupported-js stub out unsupported JS
;; CHECK-NEXT: operations
;; CHECK-NEXT:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
--enable-fp16
--enable-bulk-memory-opt
--enable-call-indirect-overlong
--enable-type-imports
(module
(type $0 (func (result v128 externref)))
(func $foo (type $0) (result v128 externref)
Expand Down
Loading