xous-core/Cargo.toml
Sean Cross 2c5ef03a09 cargo: re-enable fat lto mode for whole project
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-11 09:16:46 +08:00

33 lines
731 B
TOML

[workspace]
members = [
"xous-rs",
"tools",
"macros",
"examples/shell",
"examples/graphics-server",
"examples/log-server",
"svd2utra",
"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",
# Exclude UTRA, since it is machine-generated.
"utra",
]
[profile.release]
codegen-units = 1 # 1 better optimizations
debug = true # symbols are nice and they don't increase the size on Flash
lto = "fat"