mold + debug-release profile
This commit is contained in:
parent
003d507573
commit
30269f7bd2
3
.cargo/config.toml
Normal file
3
.cargo/config.toml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[target.x86_64-unknown-linux-gnu]
|
||||||
|
linker = "clang"
|
||||||
|
rustflags = ["-C", "link-arg=-fuse-ld=/usr/bin/mold"]
|
|
@ -7,6 +7,11 @@ members = [
|
||||||
"crates/game"
|
"crates/game"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[profile.debug-release]
|
||||||
|
inherits = "release"
|
||||||
|
opt-level = 2
|
||||||
|
debug = true
|
||||||
|
|
||||||
[workspace.dependencies]
|
[workspace.dependencies]
|
||||||
anyhow = "1.0.89"
|
anyhow = "1.0.89"
|
||||||
ash = "0.38.0"
|
ash = "0.38.0"
|
||||||
|
|
Loading…
Reference in a new issue