From: Rust Maintainers Date: Tue, 1 May 2018 07:32:05 +0000 (+0530) Subject: Disable incremental builds on sparc64 X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2^2~1^2~1^2~5 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ad32b599512a372b2ec9ea16cbf7722e136f793c;p=cargo.git Disable incremental builds on sparc64 Incremental builds are currently unreliable on sparc64, disable them by default for the time being. Last-Update: 2018-04-09 Gbp-Pq: Name 2007_sparc64_disable_incremental_build.patch --- diff --git a/src/cargo/core/manifest.rs b/src/cargo/core/manifest.rs index 18eb96b5f..103c502a4 100644 --- a/src/cargo/core/manifest.rs +++ b/src/cargo/core/manifest.rs @@ -646,6 +646,9 @@ impl Profile { debuginfo: Some(2), debug_assertions: true, overflow_checks: true, + #[cfg(target_arch = "sparc64")] + incremental: false, + #[cfg(not(target_arch = "sparc64"))] incremental: true, ..Profile::default() }