Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit a40d8bb

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 a40d8bb

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/tools/compiletest/src/header.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -766,6 +766,8 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
766766
"ignore-haiku",
767767
"ignore-horizon",
768768
"ignore-i686-pc-windows-msvc",
769+
"ignore-i686-unknown-linux-musl",
770+
"ignore-illumos",
769771
"ignore-ios",
770772
"ignore-linux",
771773
"ignore-lldb",

tests/codegen/force-frame-pointers.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
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-i686-unknown-linux-musl
9+
//@ [NonLeaf] ignore-windows-gnu
10+
//@ [NonLeaf] ignore-thumb
11+
// result is platform-dependent based on platform's frame pointer settings
612

713
#![crate_type = "lib"]
814

0 commit comments

Comments
 (0)