Merge pull request #1009 from Universal-Debloater-Alliance/build/no-mold

build(cargo): don't use `mold`
This commit is contained in:
Ricardo Fernández Serrata 2025-07-05 18:16:47 -04:00 committed by GitHub
commit 4ffdecd123
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 4 deletions

View file

@ -1,6 +1,2 @@
[target.x86_64-pc-windows-msvc]
rustflags = ["-C", "target-feature=+crt-static"]
[target.x86_64-unknown-linux-gnu]
linker = "clang"
rustflags = ["-C", "link-arg=-fuse-ld=mold"]

View file

@ -45,6 +45,7 @@ win32console = "^0.1.5"
[profile.release]
lto = "thin"
opt-level = 2
codegen-units = 4
[profile.opt]