about summary refs log tree commit diff
path: root/tests/assembly/stack-protector
diff options
context:
space:
mode:
authorMads Marquart <mads@marquart.dk>2024-05-27 15:17:18 +0200
committerMads Marquart <mads@marquart.dk>2024-05-28 12:31:33 +0200
commite6b9bb7b7200c69b82fd69572a7c0a03ead3d60f (patch)
tree3aaea213cf11a4b4a48ddde3e7385cc4bfe9f11d /tests/assembly/stack-protector
parent37ae2b68b1631a5f2cb7d2b2f6478acba654d651 (diff)
downloadrust-e6b9bb7b7200c69b82fd69572a7c0a03ead3d60f.tar.gz
rust-e6b9bb7b7200c69b82fd69572a7c0a03ead3d60f.zip
Make more of the test suite run on Mac Catalyst
This adds the `only-apple`/`ignore-apple` compiletest directive, and
uses that basically everywhere instead of `only-macos`/`ignore-macos`.

Some of the updates in `run-make` are a bit redundant, as they use
`ignore-cross-compile` and won't run on iOS - but using Apple in these
is still more correct, so I've made that change anyhow.
Diffstat (limited to 'tests/assembly/stack-protector')
-rw-r--r--tests/assembly/stack-protector/stack-protector-heuristics-effect.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/assembly/stack-protector/stack-protector-heuristics-effect.rs b/tests/assembly/stack-protector/stack-protector-heuristics-effect.rs
index 8e32d170244..1f15f1a318a 100644
--- a/tests/assembly/stack-protector/stack-protector-heuristics-effect.rs
+++ b/tests/assembly/stack-protector/stack-protector-heuristics-effect.rs
@@ -1,6 +1,6 @@
 //@ revisions: all strong basic none missing
 //@ assembly-output: emit-asm
-//@ ignore-macos slightly different policy on stack protection of arrays
+//@ ignore-apple slightly different policy on stack protection of arrays
 //@ ignore-msvc stack check code uses different function names
 //@ ignore-nvptx64 stack protector is not supported
 //@ ignore-wasm32-bare
@@ -17,12 +17,9 @@
 // See comments on https://github.com/rust-lang/rust/issues/114903.
 
 #![crate_type = "lib"]
-
 #![allow(incomplete_features)]
-
 #![feature(unsized_locals, unsized_fn_params)]
 
-
 // CHECK-LABEL: emptyfn:
 #[no_mangle]
 pub fn emptyfn() {