From 4e8059314f27477e92d5d0abcd57dfdd2ed2b3e3 Mon Sep 17 00:00:00 2001 From: L-Nafaryus Date: Mon, 11 Mar 2024 15:20:05 +0500 Subject: [PATCH] mold linker --- .cargo/config.toml | 2 +- flake.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index c82c593..7af97f1 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,2 +1,2 @@ [target.x86_64-unknown-linux-gnu] -#rustflags = ["-C", "link-arg=-fuse-ld=mold"] +rustflags = ["-C", "link-arg=-fuse-ld=mold"] diff --git a/flake.nix b/flake.nix index 2b6a1be..90abedc 100644 --- a/flake.nix +++ b/flake.nix @@ -63,7 +63,7 @@ pkgs.postgresql pkgs.diesel-cli pkgs.cargo-watch - pkgs.mold + pkgs.mold-wrapped ]; shellHook = ''