kernel: use resolver v2

This is required now to support tests, since tests create processes as
threads.

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2021-08-16 12:25:15 +08:00
parent d705d6d14e
commit afdf8531aa

View file

@ -4,6 +4,7 @@ description = "Core kernel for Xous, including task switching and memory managem
edition = "2018"
name = "kernel"
version = "0.8.2"
resolver = "2"
[dependencies]
bitflags = "1.2.1"
@ -14,6 +15,9 @@ sha3 = {default-features = false, version = "0.8.2"}
stats_alloc = {version = "0.1.8", optional = true}
xous-kernel = {package = "xous", path = "../xous-rs", features = ["forget-memory-messages"]}
[target.'cfg(any(windows,unix))'.dev-dependencies]
xous-kernel = {package = "xous", path = "../xous-rs", features = ["forget-memory-messages", "processes-as-threads"]}
[target.'cfg(not(any(windows, unix)))'.dependencies]
utralib = {path = "utralib"}