mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-10 15:14:32 +00:00
Disable debuginfo in dev builds
Hopefully, this makes printf debugging faster!
This commit is contained in:
parent
317df32eb5
commit
9a04426617
2 changed files with 3 additions and 2 deletions
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue