Skip to content
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

add multi_memory to WasmFeatures in index.d.ts #50

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
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
4 changes: 3 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/** Post-MVP WebAssembly features to legalize. */
interface WasmFeatures { // see: https://github.com/WebAssembly/wabt/blob/main/src/feature.def#L25-L35
interface WasmFeatures { // see: https://github.com/WebAssembly/wabt/blob/main/include/wabt/feature.def#L25
/** Experimental exception handling. */
exceptions?: boolean;
/** Import/export mutable globals. */
Expand Down Expand Up @@ -30,6 +30,8 @@ interface WasmFeatures { // see: https://github.com/WebAssembly/wabt/blob/main/s
gc?: boolean;
/** 64-bit memory */
memory64?: boolean;
/** Multi-memory. */
multi_memory?: boolean;
/** Extended constant expressions. */
extended_const?: boolean;
/** Relaxed SIMD. */
Expand Down