va108xx-rs/Cargo.toml

47 lines
920 B
TOML
Raw Normal View History

2021-11-02 20:30:08 +01:00
[workspace]
resolver = "2"
2021-11-02 20:30:08 +01:00
members = [
2021-12-17 10:35:49 +01:00
"vorago-reb1",
2021-12-06 16:06:01 +01:00
"va108xx",
2021-12-12 13:56:25 +01:00
"va108xx-hal",
"examples/simple",
"examples/rtic",
"examples/embassy",
"board-tests",
"bootloader",
2024-09-27 14:52:45 +02:00
"flashloader",
]
exclude = [
"defmt-testapp",
2024-09-27 15:33:50 +02:00
"flashloader/slot-a-blinky",
"flashloader/slot-b-blinky",
2021-11-06 17:16:12 +01:00
]
2021-11-06 17:16:45 +01:00
[profile.dev]
codegen-units = 1
debug = 2
debug-assertions = true # <-
incremental = false
2024-09-27 16:34:53 +02:00
# 1 instead of 0, the flashloader is too larger otherwise..
# opt-level = 1 # <-
overflow-checks = true # <-
2021-11-06 17:16:45 +01:00
# cargo build/run --release
2021-11-06 17:16:12 +01:00
[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.