From: Rust Maintainers Date: Thu, 7 Jun 2018 05:35:30 +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^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=dffb3393ae5a66d6bc28965c5e59e868393d55cb;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() }