Skip to content

Commit 32af489

Browse files
committed
_
1 parent 179700a commit 32af489

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.cargo/config.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
[target.x86_64-unknown-linux-gnu]
2-
rustflags = ["--cfg", "tokio_unstable", "-Z", "threads=8", "-Z", "track-diagnostics"]
3-
#""-C", "link-arg=-fuse-ld=mold",
4-
#linker = "clang"
2+
rustflags = ["--cfg", "tokio_unstable", "-Z", "threads=8", "-Z", "track-diagnostics", "-C", "link-arg=-fuse-ld=mold"]

flake.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
in
1616
{
1717
devShells.default = with pkgs; mkShell {
18+
stdenv = pkgs.stdenvAdapters.useMoldLinker pkgs.stdenv;
1819
packages = [
20+
mold-wrapped
1921
openssl
2022
pkg-config
2123
(rust-bin.fromRustupToolchainFile ./.cargo/rust-toolchain.toml)

0 commit comments

Comments
 (0)