mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-19 09:00:54 +00:00
kernel: cargo: add print-panics feature
With this feature enabled, the kernel will claim a UART and print panics when they occur. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
f2156b19bd
commit
750f05c322
1 changed files with 2 additions and 1 deletions
|
|
@ -16,8 +16,9 @@ riscv = "0.5.6"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
debug-print = []
|
debug-print = []
|
||||||
|
print-panics = []
|
||||||
report-memory = ["stats_alloc"]
|
report-memory = ["stats_alloc"]
|
||||||
#default = ["debug-print"]
|
default = ["print-panics"]
|
||||||
|
|
||||||
[target.'cfg(any(windows, unix))'.dependencies]
|
[target.'cfg(any(windows, unix))'.dependencies]
|
||||||
lazy_static = "1.4"
|
lazy_static = "1.4"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue