Cargo Features

winch-codegen has no features set by default.

[dependencies]
winch-codegen = { version = "28.0.0", features = ["x64", "arm64", "all-arch", "gc", "gc-drc", "gc-null", "threads", "wmemcheck"] }
x64 all-arch?

Enables x86 of cranelift-codegen

The following two dependencies (cranelift-codegen, regalloc2) are temporary; mostly to have access to PRegs and the calling convention. In the next iteration we'll factor out the common bits so that they can be consumed by Cranelift and Winch.

arm64 all-arch?

Enables arm64 of cranelift-codegen

all-arch = arm64, x64
gc

Enables gc of wasmtime-environ

gc-drc

Enables gc-drc of wasmtime-environ

gc-null

Enables gc-null of wasmtime-environ

threads

Enables threads of wasmtime-environ

wmemcheck

Enables wmemcheck of wasmtime-environ