view .shell.d/99.sccache.sh @ 504:1b863525992d

icargo: hacky tool to auto-run cargo for me
author Augie Fackler <raf@durin42.com>
date Sat, 24 Oct 2020 23:59:13 -0400
parents b2a3bee0d975
children 0593cba244a8
line wrap: on
line source

if which sccache > /dev/null ; then
    export SCCACHE_CACHE_SIZE="1G"
    export CC='sccache cc'
    export CXX='sccache c++'
    export RUSTC_WRAPPER="$(which sccache)"
fi