mirror of
https://github.com/kanidm/kanidm.git
synced 2025-04-18 08:15:39 +02:00
* Use lld by default on linux --------- Co-authored-by: James Hodgkinson <james@terminaloutcomes.com>
12 lines
418 B
TOML
12 lines
418 B
TOML
# The default ld from glibc is impossibly slow and consumes huge amounts of
|
|
# memory. We use lld by default which often is twice as fast for significantly
|
|
# less ram consumption.
|
|
|
|
[target.x86_64-unknown-linux-gnu]
|
|
linker = "clang"
|
|
rustflags = ["-C", "link-arg=-fuse-ld=lld", "-Ctarget-cpu=native"]
|
|
|
|
[target.aarch64-unknown-linux-gnu]
|
|
linker = "clang"
|
|
rustflags = ["-C", "link-arg=-fuse-ld=lld", "-Ctarget-cpu=native"]
|