From: Debian Rust Maintainers Date: Thu, 13 Jun 2024 09:16:38 +0000 (+0200) Subject: c-disable-fs-specific-test X-Git-Tag: archive/raspbian/1.94.1+dfsg1-1+rpi1~1^2~48 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=de21439a19ab00c792d4bfca855d0d0f49839c60;p=rustc.git c-disable-fs-specific-test =================================================================== Gbp-Pq: Topic cargo Gbp-Pq: Name c-disable-fs-specific-test.patch --- diff --git a/src/tools/cargo/tests/testsuite/metadata.rs b/src/tools/cargo/tests/testsuite/metadata.rs index 872886e7c5..f416ea40a1 100644 --- a/src/tools/cargo/tests/testsuite/metadata.rs +++ b/src/tools/cargo/tests/testsuite/metadata.rs @@ -4358,7 +4358,7 @@ fn build_dir() { // Creating non-utf8 path is an OS-specific pain, so let's run this only on // linux, where arbitrary bytes work. #[cfg(target_os = "linux")] -#[cargo_test] +#[allow(dead_code)] fn cargo_metadata_non_utf8() { use std::ffi::OsString; use std::os::unix::ffi::OsStringExt;