diff options
| author | bors <bors@rust-lang.org> | 2017-11-17 10:12:21 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-11-17 10:12:21 +0000 |
| commit | 02eed2e9a59c0b5df3260b38346562b85a7f3b44 (patch) | |
| tree | 7f31efeb5966330b0428cc0d892bc47cd16a50da /src/tools/compiletest | |
| parent | b32267f2c1344d37c4aa30eccd5a9ab77642b3e6 (diff) | |
| parent | 0a1f6dd8a8c27caf913a16eb0a1afeaa8183b983 (diff) | |
| download | rust-02eed2e9a59c0b5df3260b38346562b85a7f3b44.tar.gz rust-02eed2e9a59c0b5df3260b38346562b85a7f3b44.zip | |
Auto merge of #46004 - michaelwoerister:cached-mir-wip-3, r=nikomatsakis
incr.comp.: Implement query result cache and use it to cache type checking tables. This is a spike implementation of caching more than LLVM IR and object files when doing incremental compilation. At the moment, only the `typeck_tables_of` query is cached but MIR and borrow-check will follow shortly. The feature is activated by running with `-Zincremental-queries` in addition to `-Zincremental`, it is not yet active by default. r? @nikomatsakis
Diffstat (limited to 'src/tools/compiletest')
| -rw-r--r-- | src/tools/compiletest/src/runtest.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs index 2ff3eb7678f..b5a8a15b1a8 100644 --- a/src/tools/compiletest/src/runtest.rs +++ b/src/tools/compiletest/src/runtest.rs @@ -1388,6 +1388,7 @@ actual:\n\ if let Some(ref incremental_dir) = self.props.incremental_dir { rustc.args(&["-Z", &format!("incremental={}", incremental_dir.display())]); rustc.args(&["-Z", "incremental-verify-ich"]); + rustc.args(&["-Z", "incremental-queries"]); } match self.config.mode { |
