mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
core: add Workspace back in
The Workspace turns out to be useful, particularly when handled correctly. This allows for a unification of all packages. Additionally, since we now are focusing on applications and servers now, the decision of which packages to build by default becomes clearer. Finally, we'll be able to use `xbuild` to construct more complex workflows with a full Workspace. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
bb17038bfe
commit
1991a464bd
3 changed files with 1266 additions and 25 deletions
1249
Cargo.lock
generated
Normal file
1249
Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load diff
17
Cargo.toml
Normal file
17
Cargo.toml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
[workspace]
|
||||
members = [
|
||||
"kernel",
|
||||
"loader",
|
||||
"tools",
|
||||
"xous-rs",
|
||||
"macros",
|
||||
"examples/shell",
|
||||
"examples/graphics",
|
||||
"examples/log",
|
||||
]
|
||||
default-members = ["examples/shell", "examples/log", "examples/graphics"]
|
||||
|
||||
[profile.release]
|
||||
codegen-units = 1 # 1 better optimizations
|
||||
debug = true # symbols are nice and they don't increase the size on Flash
|
||||
lto = true
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
[package]
|
||||
name = "tests"
|
||||
version = "0.1.1"
|
||||
authors = ["Sean Cross <sean@xobs.io>"]
|
||||
edition = "2018"
|
||||
description = "Core kernel for Xous, including task switching and memory management"
|
||||
|
||||
[lib]
|
||||
name = "kernel"
|
||||
path = "../kernel/src/main.rs"
|
||||
test = true
|
||||
|
||||
[features]
|
||||
testing = []
|
||||
default = ["testing"]
|
||||
|
||||
[dependencies]
|
||||
bitflags = "1.2.1"
|
||||
sha3 = { default-features = false, version = "0.8.2" }
|
||||
xous = { path = "../xous-rs", features = ["forget-memory-messages", "processes-as-threads"] }
|
||||
|
||||
[target.'cfg(any(windows, unix))'.dependencies]
|
||||
rand = "0.7"
|
||||
hex = "0.4"
|
||||
lazy_static = "1.4"
|
||||
Loading…
Reference in a new issue