summaryrefslogtreecommitdiffstats
path: root/debian/patches/2000-fix-test-stderr.patch
blob: add1ab78bfc810fde7935070a101dae81923109f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Index: cargo/tests/testsuite/build_script.rs
===================================================================
--- cargo.orig/tests/testsuite/build_script.rs
+++ cargo/tests/testsuite/build_script.rs
@@ -33,6 +33,7 @@ fn custom_build_script_failed() {
         .file("build.rs", "fn main() { std::process::exit(101); }")
         .build();
     p.cargo("build -v")
+        .env("RUST_BACKTRACE", "0")
         .with_status(101)
         .with_stderr(
             "\