Cargo Features
[dependencies]
xous-kernel = { version = "0.9.37", default-features = false, features = ["precursor", "hosted", "renode", "debug-print", "gdb-stub", "print-panics", "report-memory", "wrap-print", "v2p"] }
- default = print-panics
-
The
print-panics
feature is set by default wheneverxous-kernel
is added without
somewhere in the dependency tree.default-features = false - precursor
-
utralib:
The SVD gitrev as specified above is only invoked to track fine-grained changes between target revisions. Below is the overall target switch,
which is the preferred mechanism for isolating target-specific code.
These features are mutually exclusive. Maintainers should update the checks inside build.rs to ensure consistency.Affects
platform::precursor
… - hosted
- renode
-
Affects
platform::precursor
… - debug-print
-
Affects
precursor::uart
… - gdb-stub
-
Affects
irq::take_isr_return_pair
,mem::peek_memory
,mem::poke_memory
… - print-panics default
-
Affects
precursor::uart
… - report-memory = stats_alloc
- wrap-print
- v2p
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.
Dependency versions enforced by Cargo.lock.