Skip to content

Commit ed9bb9f

Browse files
test: ignore force-frame-pointers test on some targets
all of these currently force stronger frame pointers, and currently the CLI does not override the target
1 parent f705368 commit ed9bb9f

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/tools/compiletest/src/header.rs

+1
Original file line numberDiff line numberDiff line change
@@ -766,6 +766,7 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
766766
"ignore-haiku",
767767
"ignore-horizon",
768768
"ignore-i686-pc-windows-msvc",
769+
"ignore-illumos",
769770
"ignore-ios",
770771
"ignore-linux",
771772
"ignore-lldb",

tests/codegen/force-frame-pointers.rs

+7
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
//@ [NonLeaf] compile-flags: -Cforce-frame-pointers=non-leaf
44
//@ compile-flags: -Zunstable-options
55
//@ compile-flags: -C no-prepopulate-passes -Copt-level=0
6+
//@ [NonLeaf] ignore-illumos
7+
//@ [NonLeaf] ignore-openbsd
8+
//@ [NonLeaf] ignore-x86
9+
//@ [NonLeaf] ignore-x86_64-apple-darwin
10+
//@ [NonLeaf] ignore-windows-gnu
11+
//@ [NonLeaf] ignore-thumb
12+
// result is platform-dependent based on platform's frame pointer settings
613

714
#![crate_type = "lib"]
815

0 commit comments

Comments
 (0)