2021-11-02 20:30:08 +01:00
|
|
|
[workspace]
|
2024-06-16 16:16:45 +02:00
|
|
|
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",
|
2024-06-16 16:16:45 +02:00
|
|
|
"examples/simple",
|
|
|
|
"board-tests",
|
|
|
|
]
|
|
|
|
|
|
|
|
exclude = [
|
|
|
|
"defmt-testapp",
|
2021-11-06 17:16:12 +01:00
|
|
|
]
|
|
|
|
|
2021-11-06 17:16:45 +01:00
|
|
|
[profile.dev]
|
2024-06-16 16:16:45 +02:00
|
|
|
codegen-units = 1
|
|
|
|
debug = 2
|
|
|
|
debug-assertions = true # <-
|
|
|
|
incremental = false
|
|
|
|
opt-level = 'z' # <-
|
|
|
|
overflow-checks = true # <-
|
2021-11-06 17:16:45 +01:00
|
|
|
|
2024-06-16 16:16:45 +02:00
|
|
|
# cargo build/run --release
|
2021-11-06 17:16:12 +01:00
|
|
|
[profile.release]
|
2024-06-16 16:16:45 +02:00
|
|
|
codegen-units = 1
|
|
|
|
debug = 2
|
|
|
|
debug-assertions = false # <-
|
|
|
|
incremental = false
|
|
|
|
lto = 'fat'
|
|
|
|
opt-level = 3 # <-
|
|
|
|
overflow-checks = false # <-
|