diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2016-03-28 17:43:36 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2016-04-06 12:35:15 -0400 |
| commit | fe47ca0d0b04f1cd46195b19cbb42602319aaf98 (patch) | |
| tree | 0c079e9ca31f9d581e6a51a42010d5829bd9bc39 /src/test/run-make/execution-engine | |
| parent | 943ec3bdfc9ba28e94b6d00a2b53fb2cd8b21655 (diff) | |
| download | rust-fe47ca0d0b04f1cd46195b19cbb42602319aaf98.tar.gz rust-fe47ca0d0b04f1cd46195b19cbb42602319aaf98.zip | |
restructure rustc options relating to incr. comp.
You can now pass `-Z incremental=dir` as well as saying `-Z query-dep-graph` if you want to enable queries for some other purpose. Accessor functions take the place of computed boolean flags.
Diffstat (limited to 'src/test/run-make/execution-engine')
| -rw-r--r-- | src/test/run-make/execution-engine/test.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-make/execution-engine/test.rs b/src/test/run-make/execution-engine/test.rs index 91b4f5f30ad..12cc475f121 100644 --- a/src/test/run-make/execution-engine/test.rs +++ b/src/test/run-make/execution-engine/test.rs @@ -239,7 +239,7 @@ fn compile_program(input: &str, sysroot: PathBuf) let krate = driver::assign_node_ids(&sess, krate); let lcx = LoweringContext::new(&sess, Some(&krate)); - let dep_graph = DepGraph::new(sess.opts.build_dep_graph); + let dep_graph = DepGraph::new(sess.opts.build_dep_graph()); let mut hir_forest = ast_map::Forest::new(lower_crate(&lcx, &krate), dep_graph); let arenas = ty::CtxtArenas::new(); let ast_map = driver::make_map(&sess, &mut hir_forest); |
