mold + debug-release profile

This commit is contained in:
Janis 2025-01-09 21:51:19 +01:00
parent 003d507573
commit 30269f7bd2
2 changed files with 8 additions and 0 deletions

3
.cargo/config.toml Normal file
View file

@ -0,0 +1,3 @@
[target.x86_64-unknown-linux-gnu]
linker = "clang"
rustflags = ["-C", "link-arg=-fuse-ld=/usr/bin/mold"]

View file

@ -7,6 +7,11 @@ members = [
"crates/game"
]
[profile.debug-release]
inherits = "release"
opt-level = 2
debug = true
[workspace.dependencies]
anyhow = "1.0.89"
ash = "0.38.0"