Disable incremental builds on sparc64
authorRust Maintainers <pkg-rust-maintainers@lists.alioth.debian.org>
Sun, 3 Jun 2018 15:12:13 +0000 (20:42 +0530)
committerVasudev Kamath <vasudev@copyninja.info>
Sun, 3 Jun 2018 15:12:13 +0000 (20:42 +0530)
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

src/cargo/core/manifest.rs

index b3ab4265999c9b0f5c58bcceb719b8b175e68fa4..851cc2a471e670a3b2468d8a6af124422579326b 100644 (file)
@@ -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()
         }