mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 04:23:25 +00:00
save disk space
This commit is contained in:
parent
f70c54ccfb
commit
e4eb970273
2 changed files with 4 additions and 1 deletions
|
@ -14,7 +14,7 @@ matrix:
|
|||
script:
|
||||
- rustup component add rustfmt
|
||||
- rustup component add rust-src
|
||||
- printf "\n\n[profile.dev]\ndebug = false\n" >> Cargo.toml
|
||||
- sed -i "s/debug = 1/debug = false/g" Cargo.toml
|
||||
- cargo test --no-run # let's measure compile time separately
|
||||
- cargo test
|
||||
env:
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
[workspace]
|
||||
members = [ "crates/*", "website/website-gen" ]
|
||||
|
||||
[profile.dev]
|
||||
debug = 1 # only line info
|
||||
|
||||
[profile.release]
|
||||
incremental = true
|
||||
debug = 1 # only line info
|
||||
|
|
Loading…
Reference in a new issue