about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2025-02-02 23:06:54 +0100
committerGitHub <noreply@github.com>2025-02-02 23:06:54 +0100
commit4d3a4ee9e8b0c24b2c865fba162402d8c3c6a3ef (patch)
treebd1487a0659dc39db77f777e70b15d82f431894a
parentf56e4b343b7cd02e8e97e0e6dd74ded8a583e5d5 (diff)
parent4d42046719835a201599354b1a5a82d7bd00ab45 (diff)
downloadrust-4d3a4ee9e8b0c24b2c865fba162402d8c3c6a3ef.tar.gz
rust-4d3a4ee9e8b0c24b2c865fba162402d8c3c6a3ef.zip
Rollup merge of #136339 - veera-sivarajan:ignore-arm-unknown-headers, r=jieyouxu
CompileTest: Add Directives to Ignore `arm-unknown-*` Targets

In  #134626, I want to ignore `arm-unknown-*` targets because the LLVM IR for those looks very different compared to other targets: https://rust.godbolt.org/z/ssYMhdv4x.

I can use `ignore-arm` but, I think, it would exclude large number of Apple devices.

So this PR adds a few directives to ignore `arm-unknown-*` targets specifically.
-rw-r--r--src/tools/compiletest/src/directive-list.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tools/compiletest/src/directive-list.rs b/src/tools/compiletest/src/directive-list.rs
index 71496444660..a7ac875d0a3 100644
--- a/src/tools/compiletest/src/directive-list.rs
+++ b/src/tools/compiletest/src/directive-list.rs
@@ -39,6 +39,10 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
     "ignore-android",
     "ignore-apple",
     "ignore-arm",
+    "ignore-arm-unknown-linux-gnueabi",
+    "ignore-arm-unknown-linux-gnueabihf",
+    "ignore-arm-unknown-linux-musleabi",
+    "ignore-arm-unknown-linux-musleabihf",
     "ignore-avr",
     "ignore-beta",
     "ignore-cdb",