Skip to content

Commit

Permalink
fix some warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
simonjiao committed Aug 6, 2024
1 parent 3ba2211 commit 3e120f1
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 3e120f1

Please sign in to comment.