$NetBSD: patch-src_tools_cargo_tests_testsuite_build.rs,v 1.14 2024/04/18 09:29:42 pin Exp $ Don't attempt incremental operations on sparc64, ref. https://sources.debian.org/patches/cargo/0.29.0-1/2007_sparc64_disable_incremental_build.patch/ --- src/tools/cargo/tests/testsuite/build.rs.orig 2019-08-13 06:27:40.000000000 +0000 +++ src/tools/cargo/tests/testsuite/build.rs @@ -47,6 +47,7 @@ fn cargo_fail_with_no_stderr() { /// Checks that the `CARGO_INCREMENTAL` environment variable results in /// `rustc` getting `-C incremental` passed to it. +#[cfg(not(target_arch = "sparc64"))] #[cargo_test] fn cargo_compile_incremental() { let p = project() @@ -69,6 +70,7 @@ fn cargo_compile_incremental() { .run(); } +#[cfg(not(target_arch = "sparc64"))] #[cargo_test] fn incremental_profile() { let p = project() @@ -111,6 +113,7 @@ fn incremental_profile() { .run(); } +#[cfg(not(target_arch = "sparc64"))] #[cargo_test] fn incremental_config() { let p = project()