Disable incremental builds on sparc64
authorRust Maintainers <pkg-rust-maintainers@lists.alioth.debian.org>
Sun, 15 Apr 2018 06:58:29 +0000 (12:28 +0530)
committerVasudev Kamath <vasudev@copyninja.info>
Sun, 15 Apr 2018 06:58:29 +0000 (12:28 +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 d28228b462f2a2cd55e4a53cd77dc6b0ad3768dc..84af46a6f545bd822b719886c7cb44f02e0ea494 100644 (file)
@@ -633,6 +633,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()
         }