mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-12-15 07:13:42 +01:00
12 lines
279 B
Text
12 lines
279 B
Text
<! local ncpus = tonumber(opt.system "nproc") !>
|
|
[target.x86_64-unknown-linux-gnu]
|
|
linker = "/usr/bin/clang"
|
|
rustflags = ["-Clink-arg=-fuse-ld=lld"]
|
|
|
|
[profile.release]
|
|
lto = true
|
|
opt-level = 3
|
|
codegen-units = <% math.min(ncpus, 4) %>
|
|
|
|
[profile.debug]
|
|
codegen-units = <% ncpus %>
|