summaryrefslogtreecommitdiffstats
path: root/debian/patches/c-disable-fs-specific-test.patch
blob: eda4f925b8345d499f4d46a1ef12c67b4185722a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: rust/src/tools/cargo/tests/testsuite/metadata.rs
===================================================================
--- rust.orig/src/tools/cargo/tests/testsuite/metadata.rs
+++ rust/src/tools/cargo/tests/testsuite/metadata.rs
@@ -3935,7 +3935,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;