Disable debuginfo in dev builds

Hopefully, this makes printf debugging faster!
This commit is contained in:
Aleksey Kladov 2019-11-11 10:11:46 +03:00
parent 317df32eb5
commit 9a04426617
2 changed files with 3 additions and 2 deletions

View file

@ -14,7 +14,6 @@ matrix:
script:
- rustup component add rustfmt
- rustup component add rust-src
- sed -i "s/debug = 1/debug = false/g" Cargo.toml
- cargo test --no-run # let's measure compile time separately
- cargo test
env:

View file

@ -2,7 +2,9 @@
members = [ "crates/*", "xtask/" ]
[profile.dev]
debug = 1 # only line info
# disabling debug info speeds up builds a bunch,
# and we don't rely on it for debugging that much.
debug = 0
[profile.release]
incremental = true