Cargo Features
wasmer-runtime-x has no features set by default.
[dependencies]
wasmer-runtime-x = { version = "0.18.0", features = ["cranelift", "cache", "llvm", "singlepass", "default-backend-singlepass", "default-backend-llvm", "default-backend-cranelift", "deterministic-execution", "docs"] }
- default
-
Note: we should have default backends depending on the architecture This target-directed-features is available in nightly https://github.com/rust-lang/cargo/issues/7914
- cranelift cache? default-backend-cranelift? = wasmer-clif-backend
- cache = cranelift
- llvm default-backend-llvm? = wasmer-llvm-backend
- singlepass default-backend-singlepass? = wasmer-singlepass-backend
- default-backend-singlepass = singlepass
- default-backend-llvm = llvm
- default-backend-cranelift = cranelift
- deterministic-execution
-
Enables deterministic-execution of wasmer-runtime-core-x and wasmer-singlepass-backend-x
- docs
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.