Skip to content

Commit

Permalink
add cargo config to workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
CheatCod committed Mar 26, 2024
1 parent 8b57a72 commit db4faf3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# uncomment this if you have mold linker installed

# [target.x86_64-unknown-linux-gnu]
# linker = "/usr/bin/clang"
# rustflags = ["-C", "link-arg=--ld-path=/usr/bin/mold"]

[profile.release]
strip = true
opt-level= "s"
lto = "thin"
codegen-units = 1

0 comments on commit db4faf3

Please sign in to comment.