Skip to content

Commit 03f197f

Browse files
jyn514Joshua Nelson
authored and
Joshua Nelson
committed
Don't run default LLVM passes in debug mode
This brings down compile times another couple seconds.
1 parent f2854f1 commit 03f197f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.cargo/config

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[profile.debug]
2+
# rustc spends an inordinate amount of time on LLVM
3+
rustflags = ["-C", "no-prepopulate-passes"]

0 commit comments

Comments
 (0)