Cargo Features

[dependencies]
alexcrichton-cranelift-frontend = { version = "0.53.0", default-features = false, features = ["std", "core", "basic-blocks"] }
default = basic-blocks, std

These default features are set whenever alexcrichton-cranelift-frontend is added without default-features = false somewhere in the dependency tree.

std default

Enables std of alexcrichton-cranelift-codegen

alexcrichton-cranelift-codegen:

The "std" feature enables use of libstd. The "core" feature enables use of some minimal std-like replacement libraries. At least one of these two features need to be enabled.

core = hashbrown

Enables core of alexcrichton-cranelift-codegen

alexcrichton-cranelift-codegen:

The "core" features enables use of "hashbrown" since core doesn't have a HashMap implementation, and a workaround for Cargo #4866.

basic-blocks default

Temporary feature that enforces basic block semantics.

Enables basic-blocks of alexcrichton-cranelift-codegen

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.

hashbrown core?

Enables hashbrown ^0.6