Cargo Features

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

The std feature is set by default whenever alexcrichton-cranelift-preopt 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

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.

alexcrichton-cranelift-preopt has 3 features without comments.