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:
ice_iix 2021-06-18 14:29:29 -07:00
parent e980bfc940
commit 26a22750d5
1 changed files with 1 additions and 0 deletions

View File

@ -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.