dotfiles/.cargo/config.toml.cgt

15 lines
292 B
Text
Raw Normal View History

<! local ncpus = tonumber(opt.system "nproc") !>
2022-02-13 23:06:11 +01:00
[profile.release]
lto = true
opt-level = 3
codegen-units = <% math.min(ncpus, 4) %>
[profile.debug]
codegen-units = <% ncpus %>
2024-08-03 11:50:52 +02:00
[registry]
default = "mzte"
[registries.mzte]
index = "sparse+https://git.mzte.de/api/packages/LordMZTE/cargo/"