Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/sccache/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ if ! cargo install --list | grep "cargo-binstall" > /dev/null; then
fi

umask 002
if !cargo binstall sccache --locked -y > /dev/null; then
if ! cargo binstall sccache --locked -y > /dev/null; then
cargo install sccache --locked
fi

mkdir /.cargo
echo "[build]" >> /.cargo/config.toml
echo "rustc-wrapper = \"sccache\"" >> /.cargo/config.toml
echo "rustc-wrapper = \"sccache\"" >> /.cargo/config.toml