c-disable-fs-specific-test
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Thu, 13 Jun 2024 09:16:38 +0000 (11:16 +0200)
committerFabian Grünbichler <debian@fabian.gruenbichler.email>
Thu, 20 Feb 2025 18:23:02 +0000 (19:23 +0100)
===================================================================

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

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

index 5c9015a87a7f19a899c801790b4a1969dff6d7d3..437cf5dd53db27ab8ba477e2c7cebcee05f2e7c3 100644 (file)
@@ -4297,7 +4297,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;