yep, more dotfiles

rust: use wild instead of mold

wiro.world 8857acb9 ec257ddf

verified
+3 -2
+3 -2
home-manager/fragments/rust.nix
··· 29 29 home.file."${config.home.sessionVariables.CARGO_HOME}/config.toml".source = 30 30 let 31 31 clang = lib.getExe pkgs.llvmPackages.clang; 32 - mold = lib.getExe pkgs.mold; 32 + mold = lib.getExe pkgs.mold-wrapped; 33 + wild = lib.getExe pkgs.wild; 33 34 34 35 get-crates-io-token = pkgs.writeShellScript "get-crates-io-token" "cat ${config.age.secrets.api-crates-io.path}"; 35 36 in ··· 48 49 target = { 49 50 x86_64-unknown-linux-gnu = { 50 51 linker = clang; 51 - rustflags = [ "-Clink-arg=--ld-path=${mold}" "-Ctarget-cpu=native" ]; 52 + rustflags = [ "-Clink-arg=--ld-path=${wild}" "-Ctarget-cpu=native" ]; 52 53 }; 53 54 x86_64-apple-darwin.rustflags = [ "-Ctarget-cpu=native" ]; 54 55 aarch64-apple-darwin.rustflags = [ "-Ctarget-cpu=native" ];