mirror of
https://github.com/martinvonz/jj.git
synced 2025-05-05 15:32:49 +00:00
This shaves off something like 20 to 40 seconds for Linux. It’s seemingly within the margin of error for Windows, so not sure if we’ll want to keep it there.
17 lines
487 B
TOML
17 lines
487 B
TOML
[profile.dev]
|
|
debug = "none"
|
|
incremental = false
|
|
|
|
[target.x86_64-unknown-linux-gnu]
|
|
rustflags = ["-Clink-arg=-fuse-ld=mold"]
|
|
|
|
[target.aarch64-unknown-linux-gnu]
|
|
rustflags = ["-Clink-arg=-fuse-ld=mold"]
|
|
|
|
[target.x86_64-pc-windows-msvc]
|
|
linker = "rust-lld.exe"
|
|
# NOTE: on Windows, build with the static CRT, so that produced .exe files don't
|
|
# depend on vcruntime140.dll; otherwise the user requires visual studio if they
|
|
# download a raw .exe
|
|
rustflags = ["-Ctarget-feature=+crt-static"]
|