add test and debug deps/features

This commit is contained in:
bunnie 2024-05-18 00:22:23 +08:00
parent 52d629308b
commit 44890d72ac

View file

@ -24,6 +24,7 @@ xous-kernel = { package = "xous", version = "0.9.60", features = [
"forget-memory-messages",
"processes-as-threads",
] }
rand = "0.8.5"
[target.'cfg(target_arch = "riscv32")'.dependencies]
riscv = { version = "0.5.6", package = "xous-riscv" } # source is in "../imports/riscv-0.5.6"
@ -56,12 +57,13 @@ big-heap = [] # Cause heaps to start at 12 MM inste
v2p = ["xous-kernel/v2p"]
swap = ["xous-kernel/swap", "loader/swap"]
debug-swap = []
debug-swap-verbose = []
# patches for simulation targets ONLY. Applying these flags will result in totally broken security.
hwsim = []
# default = ["print-panics", "debug-print", "wrap-print"]
default = ["print-panics", "debug-swap"]
default = ["print-panics"]
[target.'cfg(any(windows, unix))'.dependencies]
crossbeam-channel = "0.5"