use clang + mold: experimental
This commit is contained in:
parent
282964a0f0
commit
1fe15d778b
2 changed files with 5 additions and 0 deletions
|
@ -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"
|
||||
|
|
|
@ -5,6 +5,8 @@ with pkgs;
|
|||
mkShell rec {
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
mold
|
||||
clang
|
||||
];
|
||||
buildInputs = [
|
||||
udev
|
||||
|
|
Loading…
Reference in a new issue