Add super-optimised release build profile
This commit is contained in:
parent
c9d0ba8328
commit
4a7152edff
10
Cargo.toml
10
Cargo.toml
@ -14,3 +14,13 @@ rp235x-hal = { version = "0.2.0", features = [
|
||||
"critical-section-impl",
|
||||
"binary-info",
|
||||
] }
|
||||
|
||||
# Super-optimised release build, maximum performance, minimal debuggability
|
||||
# Build with cargo build --profile dist
|
||||
[profile.dist]
|
||||
inherits = "release"
|
||||
opt-level = 3
|
||||
strip = "symbols"
|
||||
lto = "fat"
|
||||
overflow-checks = false
|
||||
codegen-units = 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user