use mold linker when invoking cargo manually (not in nix build scripts)

This commit is contained in:
Alex Auvolat
2023-10-10 13:56:33 +02:00
parent e75fe2157d
commit d3fffd30dc
3 changed files with 18 additions and 11 deletions
+4 -1
View File
@@ -48,6 +48,9 @@
pkgsSrc = nixpkgs;
cargo2nixOverlay = cargo2nix.overlays.default;
release = false;
}).workspaceShell { packages = [ pkgs.rustfmt ]; };
}).workspaceShell { packages = with pkgs; [
rustfmt
mold
]; };
});
}