UART, CLKGEN & WDT #3
23
Cargo.toml
23
Cargo.toml
@ -1,17 +1,26 @@
|
|||||||
[workspace]
|
[workspace]
|
||||||
resolver = "2"
|
resolver = "2"
|
||||||
members = [ "examples/simple",
|
members = [
|
||||||
|
"examples/simple",
|
||||||
"va416xx",
|
"va416xx",
|
||||||
"va416xx-hal",
|
"va416xx-hal",
|
||||||
"vorago-peb1"
|
"vorago-peb1"
|
||||||
]
|
]
|
||||||
|
|
||||||
[profile.dev]
|
[profile.dev]
|
||||||
lto = false
|
codegen-units = 1
|
||||||
debug = true
|
debug = 2
|
||||||
|
debug-assertions = true # <-
|
||||||
|
incremental = false
|
||||||
|
opt-level = 'z' # <-
|
||||||
|
overflow-checks = true # <-
|
||||||
|
|
||||||
|
# cargo build/run --release
|
||||||
[profile.release]
|
[profile.release]
|
||||||
# Can be problematic for debugging
|
codegen-units = 1
|
||||||
lto = true
|
debug = 2
|
||||||
debug = true
|
debug-assertions = false # <-
|
||||||
opt-level = 's'
|
incremental = false
|
||||||
|
lto = 'fat'
|
||||||
|
opt-level = 3 # <-
|
||||||
|
overflow-checks = false # <-
|
||||||
|
Loading…
Reference in New Issue
Block a user