Skip to content

Commit 266aa1b

Browse files
committed
Set -Cpanic=abort in windows-msvc stack protector tests
1 parent daa77e6 commit 266aa1b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/assembly-llvm/stack-protector/stack-protector-heuristics-effect-windows-32bit.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//@ [strong] compile-flags: -Z stack-protector=strong
88
//@ [basic] compile-flags: -Z stack-protector=basic
99
//@ [none] compile-flags: -Z stack-protector=none
10-
//@ compile-flags: -C opt-level=2 -Z merge-functions=disabled
10+
//@ compile-flags: -C opt-level=2 -Z merge-functions=disabled -Cpanic=abort
1111

1212
#![crate_type = "lib"]
1313
#![allow(internal_features)]

tests/assembly-llvm/stack-protector/stack-protector-heuristics-effect-windows-64bit.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//@ [strong] compile-flags: -Z stack-protector=strong
88
//@ [basic] compile-flags: -Z stack-protector=basic
99
//@ [none] compile-flags: -Z stack-protector=none
10-
//@ compile-flags: -C opt-level=2 -Z merge-functions=disabled
10+
//@ compile-flags: -C opt-level=2 -Z merge-functions=disabled -Cpanic=abort
1111

1212
#![crate_type = "lib"]
1313
#![feature(unsized_fn_params)]

tests/assembly-llvm/stack-protector/stack-protector-target-support.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@
173173
//@ [r84] needs-llvm-components: x86
174174
//@ [r85] compile-flags: --target x86_64-unknown-redox
175175
//@ [r85] needs-llvm-components: x86
176-
//@ compile-flags: -Z stack-protector=all
176+
//@ compile-flags: -Z stack-protector=all -Cpanic=abort
177177
//@ compile-flags: -C opt-level=2
178178

179179
#![crate_type = "lib"]

0 commit comments

Comments
 (0)