mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
Cargo appears to cache packages in the workspace when multiple packages use the same crate. Unfortunately, Xous uses different features depending on whether it's running in the kernel or in userspace. Pull the kernel version of "xous" in under a different namespace in order to force it to use a different build. Signed-off-by: Sean Cross <sean@xobs.io>
25 lines
670 B
TOML
25 lines
670 B
TOML
[package]
|
|
name = "kernel"
|
|
version = "0.1.0"
|
|
authors = ["Sean Cross <sean@xobs.io>"]
|
|
edition = "2018"
|
|
description = "Core kernel for Xous, including task switching and memory management"
|
|
|
|
[dependencies]
|
|
bitflags = "1.2.1"
|
|
xous-kernel = { package = "xous", path = "../xous-rs", features = ["forget-memory-messages"] }
|
|
stats_alloc = { version = "0.1.8", optional = true }
|
|
sha3 = { default-features = false, version = "0.8.2" }
|
|
|
|
[target.'cfg(target_arch = "riscv32")'.dependencies]
|
|
riscv = "0.5.6"
|
|
|
|
[features]
|
|
debug-print = []
|
|
report-memory = ["stats_alloc"]
|
|
|
|
[target.'cfg(any(windows, unix))'.dependencies]
|
|
lazy_static = "1.4"
|
|
rand = "0.7"
|
|
hex = "0.4"
|
|
debug-here = "0.2.2"
|