xous-core/Cargo.toml
Sean Cross 8920ab57cf xtask: remove loader, kernel from workspace to fix rebuilds
These packages modify RUSTFLAGS, which causes some packages to be
rebuilt every time. Move them out of the workspace so as to ensure they
don't use the same `target` directory.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-08-18 10:51:29 +08:00

31 lines
680 B
TOML

[workspace]
members = [
# "kernel",
# "loader",
"tools",
"xous-rs",
"macros",
"examples/shell",
"examples/graphics-server",
"examples/log-server",
"xtask",
]
default-members = [
"examples/shell",
"examples/log-server",
"examples/graphics-server",
]
# 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",
]
[profile.release]
codegen-units = 1 # 1 better optimizations
debug = true # symbols are nice and they don't increase the size on Flash
lto = true