use clang + mold: experimental

This commit is contained in:
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