initial commit
This commit is contained in:
21
noire-carnation/config/cargo/config.toml
Normal file
21
noire-carnation/config/cargo/config.toml
Normal file
@@ -0,0 +1,21 @@
|
||||
[target.x86_64-unknown-linux-gnu]
|
||||
linker = "gcc"
|
||||
rustflags = ["-C", "link-arg=-fuse-ld=mold"]
|
||||
|
||||
[target.x86_64-unknown-linux-musl]
|
||||
linker = "musl-gcc"
|
||||
rustflags = ["-C", "link-arg=-fuse-ld=mold"]
|
||||
|
||||
[build]
|
||||
rustc-wrapper = "/usr/bin/sccache"
|
||||
|
||||
[profile.release]
|
||||
strip = true # strip symbols from the binary
|
||||
opt-level = "z" # optimize for size
|
||||
lto = true # link time optimization
|
||||
codegen-units = 1 # decrease parallelization
|
||||
panic = "abort"
|
||||
|
||||
[profile.release-helpful]
|
||||
inherits = "release"
|
||||
panic = "unwind"
|
||||
Reference in New Issue
Block a user