about summary refs log tree commit diff
path: root/src/librustc/session
diff options
context:
space:
mode:
authorMichael Woerister <michaelwoerister@posteo>2017-11-14 19:52:49 +0100
committerMichael Woerister <michaelwoerister@posteo>2017-11-14 19:52:49 +0100
commit2c1aeddf272d9370f32dc13025bfb802270efd10 (patch)
tree166d5ba1ced6bd956934ea5a26c2af554ec77d51 /src/librustc/session
parent0b1438307e9357904ecb5603023414e554dbeb26 (diff)
downloadrust-2c1aeddf272d9370f32dc13025bfb802270efd10.tar.gz
rust-2c1aeddf272d9370f32dc13025bfb802270efd10.zip
incr.comp.: Cache TypeckTables and add -Zincremental-queries flag.
Diffstat (limited to 'src/librustc/session')
-rw-r--r--src/librustc/session/config.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/librustc/session/config.rs b/src/librustc/session/config.rs
index ffb8144e07e..2857d50fc87 100644
--- a/src/librustc/session/config.rs
+++ b/src/librustc/session/config.rs
@@ -1042,6 +1042,8 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options,
           "enable incremental compilation (experimental)"),
     incremental_cc: bool = (false, parse_bool, [UNTRACKED],
           "enable cross-crate incremental compilation (even more experimental)"),
+    incremental_queries: bool = (false, parse_bool, [UNTRACKED],
+          "enable incremental compilation support for queries (experimental)"),
     incremental_info: bool = (false, parse_bool, [UNTRACKED],
         "print high-level information about incremental reuse (or the lack thereof)"),
     incremental_dump_hash: bool = (false, parse_bool, [UNTRACKED],