diff options
-rw-r--r-- | .travis.yml | 1 | ||||
-rw-r--r-- | Cargo.toml | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 7d66f72d8..af71a9cce 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -14,7 +14,6 @@ matrix: | |||
14 | script: | 14 | script: |
15 | - rustup component add rustfmt | 15 | - rustup component add rustfmt |
16 | - rustup component add rust-src | 16 | - rustup component add rust-src |
17 | - sed -i "s/debug = 1/debug = false/g" Cargo.toml | ||
18 | - cargo test --no-run # let's measure compile time separately | 17 | - cargo test --no-run # let's measure compile time separately |
19 | - cargo test | 18 | - cargo test |
20 | env: | 19 | env: |
diff --git a/Cargo.toml b/Cargo.toml index 97c02b40f..5c57020f7 100644 --- a/Cargo.toml +++ b/Cargo.toml | |||
@@ -2,7 +2,9 @@ | |||
2 | members = [ "crates/*", "xtask/" ] | 2 | members = [ "crates/*", "xtask/" ] |
3 | 3 | ||
4 | [profile.dev] | 4 | [profile.dev] |
5 | debug = 1 # only line info | 5 | # disabling debug info speeds up builds a bunch, |
6 | # and we don't rely on it for debugging that much. | ||
7 | debug = 0 | ||
6 | 8 | ||
7 | [profile.release] | 9 | [profile.release] |
8 | incremental = true | 10 | incremental = true |