This commit is contained in:
2025-10-09 11:23:52 +03:00
parent 964db24d10
commit 81b0bd4851
13 changed files with 80 additions and 41 deletions
+6 -5
View File
@@ -5,16 +5,17 @@ rustflags = ["-Z", "threads=8"]
[profile.release]
lto = true
[unstable]
codegen-backend = true
[profile.dev]
opt-level = 1
codegen-backend = "cranelift"
[unstable]
codegen-backend = true
[profile.dev.package."*"]
opt-level = 3
[target.x86_64-unknown-linux-gnu]
linker = "/usr/bin/clang"
rustflags = ["-C", "link-arg=-fuse-ld=/usr/bin/mold"] # "target-cpu=native"
linker = "clang"
rustflags = ["-C", "link-arg=--ld-path=wild"]
# rustflags = ["-C", "link-arg=-fuse-ld=/usr/bin/mold"] # "target-cpu=native"