Cargo Features
[dependencies]
uefi = { version = "0.33.0", default-features = false, features = ["alloc", "unstable", "logger", "global_allocator", "panic_handler", "qemu", "log-debugcon"] }
- default = log-debugcon
-
KEEP this feature list in sync with doc in lib.rs!
- alloc
-
Affects
boot::find_handles
,uefi::fs
,polyfill::vec_into_raw_parts
,file::File.get_boxed_info
,runtime::get_variable_boxed
,runtime::variable_keys
,runtime::VariableKeys
,runtime::VariableKey
,file::File.get_boxed_info_in
… - unstable
-
Generic gate to code that uses unstable features of Rust. You usually need a nightly toolchain.
Affects
file::File.get_boxed_info_in
… - logger
-
Helper features:
- global_allocator
- panic_handler qemu?
- qemu = log-debugcon, panic_handler
-
Some convenience when running inside QEMU.
- dependency log-debugcon: logical, not technical
- dependency panic_handler: logical, not technicalEnables qemu-exit
- log-debugcon default qemu?
-
Whether the internal logger from the helpers module should also log to the debugcon device (QEMU) and debug-console (cloud-hypervisor). Only works on x86.