2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-11-20 11:21:14 +00:00

Fix mold setup

This commit is contained in:
asonix 2023-11-10 18:07:01 -06:00
parent 8d62d35c1b
commit 01ad4c7453

View file

@ -79,7 +79,8 @@
}; };
devShell = with pkgs; mkShell { devShell = with pkgs; mkShell {
"CARGO_${hostCargoTarget}" = "${mold}/bin/mold"; "CARGO_TARGET_${hostCargoTarget}_LINKER" = "${clang}/bin/clang";
"RUSTFLAGS" = "--cfg tokio_unstable --cfg uuid_unstable -C link-arg=-fuse-ld=${mold-wrapped}/bin/mold";
nativeBuildInputs = [ nativeBuildInputs = [
diesel-cli diesel-cli