use clang + mold: experimental

main
Zynh Ludwig 2024-08-20 09:49:13 -07:00
parent 282964a0f0
commit 1fe15d778b
2 changed files with 5 additions and 0 deletions

View File

@ -2,4 +2,7 @@
rustflags = [
# (Nightly) Make the current crate share its generic instantiations
"-Zshare-generics=y",
"-C",
"link-arg=-fuse-ld=mold",
]
linker = "clang"

View File

@ -5,6 +5,8 @@ with pkgs;
mkShell rec {
nativeBuildInputs = [
pkg-config
mold
clang
];
buildInputs = [
udev