kernel: print out panic messages

This enables `println!()` but avoids the excessive debug spew

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2021-01-07 18:50:19 +08:00
parent 2d33c3903d
commit 05464b945b

View file

@ -21,7 +21,8 @@ riscv = "0.5.6"
debug-print = []
print-panics = []
report-memory = ["stats_alloc"]
default = ["print-panics", "debug-print"]
default = ["print-panics"]
# default = ["print-panics", "debug-print"]
# default = []
[target.'cfg(any(windows, unix))'.dependencies]