diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 12:41:39 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 12:41:39 +0000 |
commit | a5cb27bed2202818ee204db23f8488a7794d6ec3 (patch) | |
tree | 4a38fb6c257e5031269038e525d11a7c2f0fdb1b /debian/patches/c-disable-fs-specific-test.patch | |
parent | Merging upstream version 1.70.0+dfsg2. (diff) | |
download | rustc-a5cb27bed2202818ee204db23f8488a7794d6ec3.tar.xz rustc-a5cb27bed2202818ee204db23f8488a7794d6ec3.zip |
Adding debian version 1.70.0+dfsg2-1.debian/1.70.0+dfsg2-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/c-disable-fs-specific-test.patch')
-rw-r--r-- | debian/patches/c-disable-fs-specific-test.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/patches/c-disable-fs-specific-test.patch b/debian/patches/c-disable-fs-specific-test.patch new file mode 100644 index 000000000..eda4f925b --- /dev/null +++ b/debian/patches/c-disable-fs-specific-test.patch @@ -0,0 +1,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; |