mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-19 09:00:54 +00:00
kernel: use local copy of riscv crate
A local copy of the `riscv` crate is used in order to get support for the `xous` target_os. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
19653e9c53
commit
bb0339652a
2 changed files with 15 additions and 12 deletions
2
kernel/Cargo.lock
generated
2
kernel/Cargo.lock
generated
|
|
@ -453,8 +453,6 @@ dependencies = [
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "riscv"
|
name = "riscv"
|
||||||
version = "0.5.6"
|
version = "0.5.6"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "4a12a859c86dbbcad4eb18daa0465932d907687abfa909c9cc0ca32dc237c8c3"
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bare-metal",
|
"bare-metal",
|
||||||
"bit_field",
|
"bit_field",
|
||||||
|
|
|
||||||
|
|
@ -13,16 +13,21 @@ gdbstub = {git = "https://github.com/daniel5151/gdbstub.git", optional = true, d
|
||||||
gdbstub_arch = { git = "https://github.com/daniel5151/gdbstub.git", optional = true, rev = "5c702d063baaf78e4ebed7842cc8b96195d119a8" }
|
gdbstub_arch = { git = "https://github.com/daniel5151/gdbstub.git", optional = true, rev = "5c702d063baaf78e4ebed7842cc8b96195d119a8" }
|
||||||
sha3 = { default-features = false, version = "0.8.2" }
|
sha3 = { default-features = false, version = "0.8.2" }
|
||||||
stats_alloc = { version = "0.1.8", optional = true }
|
stats_alloc = { version = "0.1.8", optional = true }
|
||||||
xous-kernel = {package = "xous", path = "../xous-rs", features = ["forget-memory-messages"]}
|
xous-kernel = { package = "xous", path = "../xous-rs", features = [
|
||||||
|
"forget-memory-messages",
|
||||||
|
] }
|
||||||
|
|
||||||
[target.'cfg(any(windows,unix))'.dev-dependencies]
|
[target.'cfg(any(windows,unix))'.dev-dependencies]
|
||||||
xous-kernel = {package = "xous", path = "../xous-rs", features = ["forget-memory-messages", "processes-as-threads"]}
|
xous-kernel = { package = "xous", path = "../xous-rs", features = [
|
||||||
|
"forget-memory-messages",
|
||||||
|
"processes-as-threads",
|
||||||
|
] }
|
||||||
|
|
||||||
[target.'cfg(not(any(windows, unix)))'.dependencies]
|
[target.'cfg(not(any(windows, unix)))'.dependencies]
|
||||||
utralib = { path = "utralib" }
|
utralib = { path = "utralib" }
|
||||||
|
|
||||||
[target.'cfg(target_arch = "riscv32")'.dependencies]
|
[target.'cfg(target_arch = "riscv32")'.dependencies]
|
||||||
riscv = "0.5.6"
|
riscv = { version = "0.5.6", path = "../imports/riscv-0.5.6" }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
debug-print = []
|
debug-print = []
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue