We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d08f1c3 commit 3f4e4f5Copy full SHA for 3f4e4f5
.github/workflows/ci.yaml
@@ -45,6 +45,10 @@ jobs:
45
- name: Cache Dependencies
46
uses: Swatinem/rust-cache@ce325b60658c1b38465c06cc965b79baf32c1e72
47
48
+ - name: Bump opt-level
49
+ if: matrix.os == 'ubuntu-latest'
50
+ run: sed -i '/\[profile.dev]/a opt-level=1' Cargo.toml
51
+
52
- name: Compile
53
run: cargo test --no-run --locked
54
Cargo.toml
@@ -6,6 +6,7 @@ exclude = ["crates/proc-macro-test/imp"]
6
# Disabling debug info speeds up builds a bunch,
7
# and we don't rely on it for debugging that much.
8
debug = 0
9
+opt-level = 1
10
11
[profile.dev.package]
12
# These speed up local tests.
0 commit comments