xous-core/Cargo.toml
Sean Cross 374e411b74 cargo: use resolver 2 to fix graphics issue
The graphics server has an issue where something upstream is activating
the "std" feature on "log", which prevents us from compiling anything
that includes the "log" crate. Which is everything.

Use resolver "2", which requires Rust 1.51 or newer.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-02-10 15:00:16 +08:00

59 lines
1.3 KiB
TOML

[workspace]
resolver = "2"
members = [
"xous-rs",
"tools",
"macros",
"services/shell",
"services/graphics-server",
"services/log-server",
"services/ticktimer-server",
"services/com",
"services/trng-tester",
"services/fcc-agent",
"services/xous-names",
"services/keyboard",
"services/trng",
"services/gam",
"services/benchmark",
"services/benchmark-target",
"svd2utra",
"xtask",
"imports/blitstr-ref",
"imports/com_rs-ref",
]
default-members = [
"services/shell",
"services/log-server",
"services/graphics-server",
"services/ticktimer-server",
"services/trng-tester",
"services/fcc-agent",
"services/xous-names",
"services/keyboard",
"services/com",
"services/trng",
"services/gam",
"imports/blitstr-ref",
"imports/com_rs-ref",
"services/benchmark",
"services/benchmark-target",
]
# These packages have custom RUSTFLAGS, so if they
# were included in the workspace they would cause
# packages to be rebuilt every time they were touched.
# Keep them out of the main workspace.
exclude = [
"kernel",
"loader",
# Exclude UTRA, since it is machine-generated.
"utralib",
]
[profile.release]
codegen-units = 1 # 1 better optimizations
debug = true # symbols are nice and they don't increase the size on Flash
lto = "fat"