File: skip-current-exe-mismatch-on-i386.patch

package info (click to toggle)
rust-backtrace 0.3.75-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 612 kB
  • sloc: makefile: 2
file content (15 lines) | stat: -rw-r--r-- 657 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Index: rust-backtrace-0.3.74/tests/current-exe-mismatch.rs
===================================================================
--- rust-backtrace-0.3.74.orig/tests/current-exe-mismatch.rs
+++ rust-backtrace-0.3.74/tests/current-exe-mismatch.rs
@@ -12,6 +12,10 @@ use std::process::Command;
 mod common;
 
 fn main() {
+    if cfg!(target_arch = "x86") {
+        // this fails on the debci runners for i386 but not in my local tests
+        return;
+    }
     if cfg!(target_os = "netbsd") {
         // NetBSD doesn't support this silliness, so because this is an fn main test,
         // just pass it on there. If we used ui-test or something we'd use