Robin Mueller
39641ab3b6
Some checks failed
Rust/va416xx-rs/pipeline/pr-main There was a failure building this commit
43 lines
822 B
TOML
43 lines
822 B
TOML
[workspace]
|
|
resolver = "2"
|
|
members = [
|
|
"bootloader",
|
|
"flashloader",
|
|
"examples/simple",
|
|
"va416xx",
|
|
"va416xx-hal",
|
|
"vorago-peb1"
|
|
]
|
|
exclude = [
|
|
"flashloader/slot-a-blinky",
|
|
"flashloader/slot-b-blinky",
|
|
]
|
|
|
|
[profile.dev]
|
|
codegen-units = 1
|
|
debug = 2
|
|
debug-assertions = true # <-
|
|
incremental = false
|
|
# This is problematic for stepping..
|
|
# opt-level = 'z' # <-
|
|
overflow-checks = true # <-
|
|
|
|
# cargo build/run --release
|
|
[profile.release]
|
|
codegen-units = 1
|
|
debug = 2
|
|
debug-assertions = false # <-
|
|
incremental = false
|
|
lto = 'fat'
|
|
opt-level = 3 # <-
|
|
overflow-checks = false # <-
|
|
|
|
[profile.small]
|
|
inherits = "release"
|
|
codegen-units = 1
|
|
debug-assertions = false # <-
|
|
lto = true
|
|
opt-level = 'z' # <-
|
|
overflow-checks = false # <-
|
|
# strip = true # Automatically strip symbols from the binary.
|