Permalink
Browse files

Enable cross-crate incremental compilation by default.

  • Loading branch information...
michaelwoerister committed May 17, 2017
1 parent 6af8c6c commit 1b8df3d7fb1f575ed12c13a79455af6c7de05632
@@ -963,7 +963,7 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options,
"attempt to recover from parse errors (experimental)"),
incremental: Option<String> = (None, parse_opt_string, [UNTRACKED],
"enable incremental compilation (experimental)"),
incremental_cc: bool = (false, parse_bool, [UNTRACKED],
incremental_cc: bool = (true, parse_bool, [UNTRACKED],
"enable cross-crate incremental compilation (even more experimental)"),
incremental_info: bool = (false, parse_bool, [UNTRACKED],
"print high-level information about incremental reuse (or the lack thereof)"),
@@ -8,8 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// compile-flags: -Z incremental-cc
pub struct Point {
pub x: f32,
pub y: f32,
@@ -8,8 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// compile-flags: -Z incremental-cc
#![crate_type="rlib"]
#[cfg(rpass1)]
@@ -8,8 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// compile-flags: -Z incremental-cc
pub struct Point {
pub x: f32,
pub y: f32,
@@ -8,8 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// compile-flags: -Z incremental-cc
pub struct Point {
pub x: f32,
pub y: f32,
@@ -10,9 +10,9 @@
// ignore-tidy-linelength
//[rpass1] compile-flags: -g -Zincremental-cc
//[rpass2] compile-flags: -g -Zincremental-cc
//[rpass3] compile-flags: -g -Zincremental-cc -Zremap-path-prefix-from={{src-base}} -Zremap-path-prefix-to=/the/src
//[rpass1] compile-flags: -g
//[rpass2] compile-flags: -g
//[rpass3] compile-flags: -g -Zremap-path-prefix-from={{src-base}} -Zremap-path-prefix-to=/the/src
#![feature(rustc_attrs)]
#![crate_type="rlib"]
@@ -8,8 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// compile-flags: -Z incremental-cc
#![allow(warnings)]
#![crate_name = "a"]
#![crate_type = "rlib"]
@@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// compile-flags: -Z incremental-cc
// no-prefer-dynamic
#![crate_type="rlib"]
@@ -8,8 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// compile-flags: -Z incremental-cc
#![crate_type="rlib"]
#[cfg(rpass1)]
@@ -8,8 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// compile-flags: -Z incremental-cc
#![crate_type="rlib"]
#[cfg(rpass1)]

0 comments on commit 1b8df3d

Please sign in to comment.