Skip to content

Instantly share code, notes, and snippets.

@oprudkyi
Last active October 28, 2015 06:37
Show Gist options
  • Save oprudkyi/5a7ed68dbdba448f9bf4 to your computer and use it in GitHub Desktop.
Save oprudkyi/5a7ed68dbdba448f9bf4 to your computer and use it in GitHub Desktop.
ccache and cargo rust
mkdir /usr/local/lib64/ccache/
cd /usr/local/lib64/ccache/
ln -s /usr/bin/ccache gcc
ln -s /usr/bin/ccache g++
CC="/usr/local/lib64/ccache/gcc" CXX="/usr/local/lib64/ccache/g++" RUST_BACKTRACE=1 cargo build --verbose
ccache -s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment