mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 04:53:34 +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:
|
script:
|
||||||
- rustup component add rustfmt
|
- rustup component add rustfmt
|
||||||
- rustup component add rust-src
|
- 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 --no-run # let's measure compile time separately
|
||||||
- cargo test
|
- cargo test
|
||||||
env:
|
env:
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
[workspace]
|
[workspace]
|
||||||
members = [ "crates/*", "website/website-gen" ]
|
members = [ "crates/*", "website/website-gen" ]
|
||||||
|
|
||||||
|
[profile.dev]
|
||||||
|
debug = 1 # only line info
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
incremental = true
|
incremental = true
|
||||||
debug = 1 # only line info
|
debug = 1 # only line info
|
||||||
|
|
Loading…
Reference in a new issue