Cargo Features

wasmer-compiler-cli has no features set by default.

[dependencies]
wasmer-compiler-cli = { version = "4.3.0-alpha.1", features = ["engine", "compiler", "singlepass", "cranelift", "debug", "jit"] }
default

Don't add the compiler features in default, please add them on the Makefile since we might want to autoconfigure them depending on the availability on the host.

engine
compiler cranelift? singlepass?

Enables translator of wasmer-compiler

wasmer-compiler:

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.

singlepass = compiler, wasmer-compiler-singlepass
cranelift = compiler, wasmer-compiler-cranelift
debug = fern, log

Affects wasmer-compiler-cli::logging

disable-all-logging jit

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.

fern debug?

Enables fern

For debug feature

log debug?
wasmer-compiler-cranelift wasm32 not wasm32 cranelift?
wasmer-compiler-singlepass wasm32 not wasm32 singlepass?