From ce7b44b048820edc6b29873a708ec12c760db64b Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Mon, 2 Dec 2019 16:48:18 +0100 Subject: [PATCH] ignore another panicking test on Windows --- tests/run-pass/panic/transmute_fat2.rs | 1 + tests/run-pass/panic/transmute_fat2.stderr | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/run-pass/panic/transmute_fat2.rs b/tests/run-pass/panic/transmute_fat2.rs index 40b3bd9d10..8cbe9a099b 100644 --- a/tests/run-pass/panic/transmute_fat2.rs +++ b/tests/run-pass/panic/transmute_fat2.rs @@ -1,3 +1,4 @@ +// ignore-windows: Unwind panicking does not currently work on Windows fn main() { #[cfg(target_pointer_width="64")] let bad = unsafe { diff --git a/tests/run-pass/panic/transmute_fat2.stderr b/tests/run-pass/panic/transmute_fat2.stderr index 62f3787723..08849a5b51 100644 --- a/tests/run-pass/panic/transmute_fat2.stderr +++ b/tests/run-pass/panic/transmute_fat2.stderr @@ -1 +1 @@ -thread 'main' panicked at 'index out of bounds: the len is 0 but the index is 0', $DIR/transmute_fat2.rs:10:5 +thread 'main' panicked at 'index out of bounds: the len is 0 but the index is 0', $DIR/transmute_fat2.rs:11:5