# Use LLD since it is faster.
# TODO: figure out how to make this work in CI
#[target.x86_64-unknown-linux-gnu]
#rustflags = ["-C", "link-arg=-fuse-ld=lld"]
#[target.aarch64-unknown-linux-gnu]
#rustflags = ["-C", "link-arg=-fuse-ld=lld"]

# Statically link the MSVC C Runtime on Windows, so the EXEs can run without
# installing the C Runtime DLL.
[target.'cfg(all(target_env = "msvc"))']
rustflags = ["-C", "target-feature=+crt-static"]
