c-disable-fs-specific-test
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Mon, 27 May 2024 11:28:20 +0000 (13:28 +0200)
committerFabian Grünbichler <debian@fabian.gruenbichler.email>
Mon, 27 May 2024 11:28:20 +0000 (13:28 +0200)
===================================================================

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

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

index ac2cec39661ebe343ea487a58c1f8fbc39416b40..74003d08070bc2db55ce6d9d4454a5179c5f296a 100644 (file)
@@ -3988,7 +3988,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;