Skip to content

Commit

Permalink
Merge 3e120f1 into 3ba2211
Browse files Browse the repository at this point in the history
  • Loading branch information
simonjiao authored Aug 6, 2024
2 parents 3ba2211 + 3e120f1 commit ec0d042
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
File renamed without changes.
2 changes: 1 addition & 1 deletion scripts/dev_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ function install_mold {
cp "${TMPFILE}/mold-1.5.1-x86_64-linux/bin/mold" "$(pwd)/mold"
# rm -rf "$TMPFILE"
chmod +x "$(pwd)/mold"
printf $"[target.x86_64-unknown-linux-gnu]\nlinker = \"/usr/bin/clang\"\nrustflags = [\"-C\", \"link-arg=-fuse-ld=$(pwd)/mold\"]\n" >> ./.cargo/config
printf $"[target.x86_64-unknown-linux-gnu]\nlinker = \"/usr/bin/clang\"\nrustflags = [\"-C\", \"link-arg=-fuse-ld=$(pwd)/mold\"]\n" >> ./.cargo/config.toml
else
echo "Mold is only supported on x86_64"
fi
Expand Down

0 comments on commit ec0d042

Please sign in to comment.