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 = [
|
rustflags = [
|
||||||
# (Nightly) Make the current crate share its generic instantiations
|
# (Nightly) Make the current crate share its generic instantiations
|
||||||
"-Zshare-generics=y",
|
"-Zshare-generics=y",
|
||||||
|
"-C",
|
||||||
|
"link-arg=-fuse-ld=mold",
|
||||||
]
|
]
|
||||||
|
linker = "clang"
|
||||||
|
|
|
@ -5,6 +5,8 @@ with pkgs;
|
||||||
mkShell rec {
|
mkShell rec {
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkg-config
|
pkg-config
|
||||||
|
mold
|
||||||
|
clang
|
||||||
];
|
];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
udev
|
udev
|
||||||
|
|
Loading…
Reference in a new issue