Expand description
The wasm32-wasip1 enables compiling to WebAssembly using the first
version of the WASI standard, called “preview1”. This version of the
standard was never formally specified and WASI has since evolved to a
“preview2”. This target in rustc uses the previous version of the proposal.
This target uses the syscalls defined at https://github.com/WebAssembly/WASI/tree/wasi-0.1/preview1.
Note that this target was historically called wasm32-wasi originally and
was since renamed to wasm32-wasip1 after the preview2 target was
introduced.
Re-exports§
use crate::spec::Arch;🔒use crate::spec::Cc;🔒use crate::spec::Env;🔒use crate::spec::LinkSelfContainedDefault;🔒use crate::spec::LinkerFlavor;🔒use crate::spec::Os;🔒use crate::spec::Target;🔒use crate::spec::TargetMetadata;🔒use crate::spec::base;🔒use crate::spec::crt_objects;🔒
Functions§
- target 🔒