From: Rust Maintainers Date: Sun, 3 Jun 2018 15:12:13 +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~5 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ffe1c5a84eab37ebe406913e2b19ed42df3fdb0f;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 b3ab42659..851cc2a47 100644 --- a/src/cargo/core/manifest.rs +++ b/src/cargo/core/manifest.rs @@ -711,6 +711,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() }