Skip to content

Commit

Permalink
build-1.74.0.sh - Auto-detect ccache (thanks @Googulator and @nabijac…
Browse files Browse the repository at this point in the history
  • Loading branch information
thepowersgang committed Dec 7, 2024
1 parent f6571e4 commit b40ed16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build-1.74.0.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash
set -e
export RUSTC_VERSION=1.74.0 MRUSTC_TARGET_VER=1.74 OUTDIR_SUF=-1.74.0
# Turn this on if you have `ccache` installed
#export MRUSTC_CCACHE=1
# Enables use of ccache in mrustc if it's available (i.e. ccache is on PATH)
command -v ccache >/dev/null && export MRUSTC_CCACHE=1
make
make RUSTCSRC
make -f minicargo.mk LIBS $@
Expand Down

0 comments on commit b40ed16

Please sign in to comment.