Cargo Features

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 default-features = false somewhere in the dependency tree.

compiler cranelift? llvm? singlepass?

Enables compiler of wasmer-engine-dylib and wasmer-engine-universal and translator of wasmer-compiler ^2.0.0


This feature is for compiler implementors, it enables using Compiler and CompilerConfig, 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 / 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.

wasmer-compiler-singlepass singlepass?

Enables wasmer-compiler-singlepass ^2.0.0

wasmer-compiler-cranelift cranelift?

Enables wasmer-compiler-cranelift ^2.0.0

wasmer-compiler-llvm llvm?

Enables wasmer-compiler-llvm ^2.0.0

wasmer-engine-universal compiler? universal?
wasmer-engine-dylib compiler? dylib?
wat default