Cargo Features

winch-codegen has no features set by default.

[dependencies]
winch-codegen = { version = "0.18.0", features = ["x64", "arm64", "all-arch"] }
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