Skip to content

Commit dc09518

Browse files
committed
big performance optimization round
1 parent 8948559 commit dc09518

36 files changed

+2222
-1637
lines changed

.cargo/config.toml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,17 @@
11
[env]
22
CARGO_WORKSPACE_DIR = { value = "", relative = true }
3+
CXXFLAGS = "-O2"
4+
5+
[build]
6+
rustc-wrapper = "sccache"
7+
rustflags = ["Z", "threads=16"]
8+
9+
[target.x86_64-unknown-linux-gnu]
10+
linker = "clang"
11+
rustflags = ["-C", "link-arg=-fuse-ld=mold"]
12+
13+
[unstable]
14+
codegen-backend = true
15+
16+
[profile.dev]
17+
codegen-backend = "cranelift"

.envrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
use flake

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
/target
22
**/target
33
.direnv
4-
shell.nix
5-
.envrc

0 commit comments

Comments
 (0)