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 /library/std/src | |
| 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 'library/std/src')
| -rw-r--r-- | library/std/src/fs/tests.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/library/std/src/fs/tests.rs b/library/std/src/fs/tests.rs index dfa05671ab0..62a268facb6 100644 --- a/library/std/src/fs/tests.rs +++ b/library/std/src/fs/tests.rs @@ -1431,7 +1431,7 @@ fn metadata_access_times() { assert_eq!(check!(a.modified()), check!(a.modified())); assert_eq!(check!(b.accessed()), check!(b.modified())); - if cfg!(target_os = "macos") || cfg!(target_os = "windows") { + if cfg!(target_vendor = "apple") || cfg!(target_os = "windows") { check!(a.created()); check!(b.created()); } | 
