From 8c0ea93975ba0fea2f3fef57f3221a26f42d22eb Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Wed, 8 Mar 2023 23:21:35 +0100 Subject: [PATCH] Document Rust usage --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index a0c4218..953b7b1 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,16 @@ Just copy and paste the following in your GitHub action: run: ${SCCACHE_PATH} --show-stats ``` +### Rust code + +For Rust code, the following environment variables should be set: + +``` + env: + SCCACHE_GHA_ENABLED: "true" + RUSTC_WRAPPER: "sccache" +``` + ## Prepare a new release 1. Update README.md in the examplee