summaryrefslogtreecommitdiffstats
path: root/debian/patches/c-disable-fs-specific-test.patch
blob: ccdc0ba81c0d4afe9c31439d2c2a133f19bd7681 (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
@@ -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;