Cargo.toml: split debug info for faster builds
https://blog.rust-lang.org/2021/03/25/Rust-1.51.0.html#splitting-debug-information
This commit is contained in:
parent
e980bfc940
commit
26a22750d5
|
@ -20,6 +20,7 @@ crate-type = ["cdylib", "rlib"]
|
|||
path = "src/main.rs"
|
||||
|
||||
[profile.dev]
|
||||
split-debuginfo = "unpacked"
|
||||
# Steven runs horrendously slow with no optimizations, and often freezes.
|
||||
# However, building with full -O3 optimizations takes too long for a debug build.
|
||||
# Use an -O1 optimization level strikes a good compromise between build and program performance.
|
||||
|
|
Loading…
Reference in New Issue