Introduce perma-unstable wasm-c-abi flag
This commit is contained in:
parent
5bc7b9ac8a
commit
f09c19ac3a
10 changed files with 94 additions and 13 deletions
10
src/doc/unstable-book/src/compiler-flags/wasm-c-abi.md
Normal file
10
src/doc/unstable-book/src/compiler-flags/wasm-c-abi.md
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# `wasm-c-abi`
|
||||
|
||||
This option controls whether Rust uses the spec-compliant C ABI when compiling
|
||||
for the `wasm32-unknown-unknown` target.
|
||||
|
||||
This makes it possible to be ABI-compatible with all other spec-compliant Wasm
|
||||
like Rusts `wasm32-wasi`.
|
||||
|
||||
This compiler flag is perma-unstable, as it will be enabled by default in the
|
||||
future with no option to fall back to the old non-spec-compliant ABI.
|
||||
Loading…
Add table
Add a link
Reference in a new issue