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 whenever xous-kernel is added without default-features = false somewhere in the dependency tree.

precursor

Enables precursor of utralib

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

Enables hosted of utralib

renode

Enables renode of utralib

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

Enables v2p of xous

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.

stats_alloc report-memory?
utralib hosted? precursor? renode?