Files
sqm-autorate-rust/.cargo/config.toml
T
Nils Andreas Svee 9d863b470f chore: Configures mold linker for Linux
Configures the mold linker for Linux targets, excluding MIPS architectures due to incompatibility. This improves linking speed.
2026-02-21 13:30:05 +07:00

4 lines
240 B
TOML

# Apply mold to all Linux targets EXCEPT MIPS
# MIPS is excluded because mold does not support it.
[target.'cfg(all(target_os = "linux", not(any(target_arch = "mips", target_arch = "mips64"))))']
rustflags = ["-C", "link-arg=-fuse-ld=mold"]