diff options
| author | Mads Marquart <mads@marquart.dk> | 2024-05-27 15:17:18 +0200 |
|---|---|---|
| committer | Mads Marquart <mads@marquart.dk> | 2024-05-28 12:31:33 +0200 |
| commit | e6b9bb7b7200c69b82fd69572a7c0a03ead3d60f (patch) | |
| tree | 3aaea213cf11a4b4a48ddde3e7385cc4bfe9f11d /tests/codegen/mainsubprogram.rs | |
| parent | 37ae2b68b1631a5f2cb7d2b2f6478acba654d651 (diff) | |
| download | rust-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/codegen/mainsubprogram.rs')
| -rw-r--r-- | tests/codegen/mainsubprogram.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/codegen/mainsubprogram.rs b/tests/codegen/mainsubprogram.rs index c1933b2b390..12b24c90229 100644 --- a/tests/codegen/mainsubprogram.rs +++ b/tests/codegen/mainsubprogram.rs @@ -2,7 +2,7 @@ // before 4.0, formerly backported to the Rust LLVM fork. //@ ignore-windows -//@ ignore-macos +//@ ignore-apple //@ ignore-wasi //@ compile-flags: -g -C no-prepopulate-passes @@ -10,5 +10,4 @@ // CHECK-LABEL: @main // CHECK: {{.*}}DISubprogram{{.*}}name: "main",{{.*}}DI{{(SP)?}}FlagMainSubprogram{{.*}} -pub fn main() { -} +pub fn main() {} |
