Cargo Features
[dependencies]
wasmer-asml-fork = { version = "2.0.0", default-features = false, features = ["compiler", "engine", "universal", "dylib", "singlepass", "cranelift", "llvm", "default-singlepass", "default-cranelift", "default-llvm", "default-universal", "default-dylib", "default-compiler", "default-engine", "experimental-reference-types-extern-ref", "jit", "native", "wat"] }
- default = default-cranelift, default-universal, wat
-
These default features are set whenever
wasmer-asml-fork
is added without
somewhere in the dependency tree.default-features = false - compiler cranelift? llvm? singlepass?
-
Enables compiler of wasmer-engine-dylib and wasmer-engine-universal and translator of wasmer-compiler ^2.0.0
wasmer-compiler:
This feature is for compiler implementors, it enables using
Compiler
andCompilerConfig
, as well as the included wasmparser. Disable this feature if you just want a headless engine. - engine dylib? universal?
- universal default-universal jit? = engine, wasmer-engine-universal
- dylib default-dylib? native? = engine, wasmer-engine-dylib
- singlepass default-singlepass? = compiler, wasmer-compiler-singlepass
- cranelift default-cranelift = compiler, wasmer-compiler-cranelift
- llvm default-llvm? = compiler, wasmer-compiler-llvm
- default-singlepass = default-compiler, singlepass
- default-cranelift default = cranelift, default-compiler
- default-llvm = default-compiler, llvm
- default-universal default = default-engine, universal
- default-dylib = default-engine, dylib
- default-compiler default-cranelift default-llvm? default-singlepass?
- default-engine default-dylib? default-universal
- experimental-reference-types-extern-ref
-
experimental / in-development features
Enables experimental…types-extern-ref of wasmer-types ^2.0.0
- jit = universal
-
Deprecated features.
Affects
wasmer-asml-fork::JIT
… - native = dylib
-
Affects
wasmer-asml-fork::Native
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.