Cargo Features
r-efi has no features set by default.
[dependencies]
r-efi = { version = "5.1.0", features = ["efiapi", "examples", "native", "rustc-dep-of-std"] }
- efiapi
-
No-op for backwards compatibility.
- examples = native
-
Maps to
native
for backwards compatibility. - native examples?
-
We feature-gate all native code, since it will not link correctly, unless you use a UEFI target configuration. To make
cargo test
work, we exclude all these from normal runs. - rustc-dep-of-std = core
-
Enables rustc-dep-of-std of compiler_builtins
Required setup to build as part of rustc.
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.