You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add an option to specify CFLAGS for wasm features and make lime1 the default
Add a cmake option WASI_SDK_CPU_CFLAGS to specify CFLAGS to
control wasm features to enable/disable.
Make the default `-mcpu=lime1`.
Comparing to the default "generic" target of the recent llvm,
this effectively:
* disables reference-types and bulk-memory (enable their
partial counterparts instead)
* enables extended-const
Note: as of writing this, a few popular runtimes, including wasm3 and
wasm-micro-runtime, don't support extented-const yet.
Note: regardless of this, wasi-libc enables necessary features for
certain files. (bulk-memory and exception-handling)
cf. #525
References:
https://github.com/WebAssembly/tool-conventions/blob/main/Lime.mdbytecodealliance/wasm-micro-runtime#4272
0 commit comments