This allows prefixing BB-specific code with "#[cfg(feature = "basic-blocks")]", which avoids having to reference an environment variable across the codebase. The easiest way to enable the feature locally is to add the arguments 'features = ["basic-blocks"]' to the workspace Cargo.toml, where it defines the cranelift-codegen dependency.
This crate contains the core Cranelift code generator. It translates code from an intermediate representation into executable machine code.