summaryrefslogtreecommitdiff
path: root/user/rust/0015-test-invalid_const_promotion-Accept-SIGTRAP-as-a-val.patch
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2018-11-15 01:52:22 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2018-11-15 01:52:22 +0000
commit097e4722ba191ed4ab4e51766c6fe9a23a3e0ecf (patch)
treedaa93c64489cab0512bad7c4e5f4b3b848bf7859 /user/rust/0015-test-invalid_const_promotion-Accept-SIGTRAP-as-a-val.patch
parent950827890cca5caf633480047da6115f43b1a529 (diff)
parent18b490b7953735328501c6f7e54522a91220caf3 (diff)
downloadpackages-097e4722ba191ed4ab4e51766c6fe9a23a3e0ecf.tar.gz
packages-097e4722ba191ed4ab4e51766c6fe9a23a3e0ecf.tar.bz2
packages-097e4722ba191ed4ab4e51766c6fe9a23a3e0ecf.tar.xz
packages-097e4722ba191ed4ab4e51766c6fe9a23a3e0ecf.zip
Merge branch 'rust' into 'master'
user/rust: Bump to 1.30.1 See merge request !105
Diffstat (limited to 'user/rust/0015-test-invalid_const_promotion-Accept-SIGTRAP-as-a-val.patch')
-rw-r--r--user/rust/0015-test-invalid_const_promotion-Accept-SIGTRAP-as-a-val.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/user/rust/0015-test-invalid_const_promotion-Accept-SIGTRAP-as-a-val.patch b/user/rust/0015-test-invalid_const_promotion-Accept-SIGTRAP-as-a-val.patch
new file mode 100644
index 000000000..dcd5a3fdf
--- /dev/null
+++ b/user/rust/0015-test-invalid_const_promotion-Accept-SIGTRAP-as-a-val.patch
@@ -0,0 +1,25 @@
+From 44e00e6842dd230f1da838de231446f1c1c3e48d Mon Sep 17 00:00:00 2001
+From: Samuel Holland <samuel@sholland.org>
+Date: Sun, 16 Sep 2018 16:37:09 +0000
+Subject: [PATCH 15/24] test/invalid_const_promotion: Accept SIGTRAP as a valid
+ death signal
+
+---
+ src/test/run-pass/invalid_const_promotion.rs | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/test/run-pass/invalid_const_promotion.rs b/src/test/run-pass/invalid_const_promotion.rs
+index a18d82fb7a..2b159db9fd 100644
+--- a/src/test/run-pass/invalid_const_promotion.rs
++++ b/src/test/run-pass/invalid_const_promotion.rs
+@@ -35,6 +35,7 @@ fn check_status(status: std::process::ExitStatus)
+ use std::os::unix::process::ExitStatusExt;
+
+ assert!(status.signal() == Some(libc::SIGILL)
++ || status.signal() == Some(libc::SIGTRAP)
+ || status.signal() == Some(libc::SIGABRT));
+ }
+
+--
+2.18.0
+