Skip to content

Commit

Permalink
Add usage instructions for rust
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmuizel authored and luser committed Oct 13, 2017
1 parent 48d9257 commit a410159
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ Running sccache is like running ccache: wrap your compilation commands with it,

> $ sccache gcc -o foo.o -c foo.c
or use it with rust, like so:

> $ RUSTC_WRAPPER=[path to sccache] cargo build
Sccache (tries to) support gcc, clang and MSVC. If you don't [specify otherwise](#storage-options), sccache will use a local disk cache.

You can run `sccache --start-server` to start the background server process without performing any compilation.
Expand Down

0 comments on commit a410159

Please sign in to comment.