c-disable-fs-specific-test
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Thu, 30 May 2024 09:25:53 +0000 (11:25 +0200)
committerFabian Grünbichler <debian@fabian.gruenbichler.email>
Thu, 30 May 2024 09:25:53 +0000 (11:25 +0200)
===================================================================

Gbp-Pq: Name c-disable-fs-specific-test.patch

src/tools/cargo/tests/testsuite/metadata.rs

index fbead4dea97e663db777d97ff5dce2a007cff622..c8aec5f1a9a15481c606c7e4158c0283823b4017 100644 (file)
@@ -3997,7 +3997,7 @@ fn dep_kinds_workspace() {
 // 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;