Skip to content

Commit 92ff6c2

Browse files
authored
Mention CG_CLIF_INCR_CACHE in the readme
1 parent e4f1f3d commit 92ff6c2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Readme.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ $ ./test.sh --release
1818
### Cargo
1919

2020
```bash
21+
$ export CG_CLIF_INCR_CACHE=1 # Enable caching of object files in the incremental cache
2122
$ CHANNEL="release" $cg_clif_dir/cargo.sh run
2223
```
2324

@@ -26,6 +27,7 @@ If you compiled cg_clif in debug mode you should use `CHANNEL="debug"` instead o
2627
### Rustc
2728

2829
```bash
30+
$ export CG_CLIF_INCR_CACHE=1 # Enable caching of object files in the incremental cache
2931
$ rustc -Cpanic=abort -Zcodegen-backend=$cg_clif_dir/target/release/librustc_codegen_cranelift.so --sysroot $cg_clif_dir/build_sysroot/sysroot my_crate.rs
3032
```
3133

0 commit comments

Comments
 (0)