Make more of the test suite run on Mac Catalyst · model-checking/verify-rust-std@3170156 (original) (raw)
Navigation Menu
- GitHub Copilot Write better code with AI
- GitHub Models New Manage and compare prompts
- GitHub Advanced Security Find and fix vulnerabilities
- Actions Automate any workflow
- Codespaces Instant dev environments
- Issues Plan and track work
- Code Review Manage code changes
- Discussions Collaborate outside of code
- Code Search Find more, search less
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit 3170156
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.
File tree
1 file changed
lines changed
1 file changed
lines changed
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1431,7 +1431,7 @@ fn metadata_access_times() { | ||
1431 | 1431 | assert_eq!(check!(a.modified()), check!(a.modified())); |
1432 | 1432 | assert_eq!(check!(b.accessed()), check!(b.modified())); |
1433 | 1433 | |
1434 | -if cfg!(target_os = "macos") | | |
1434 | +if cfg!(target_vendor = "apple") | | |
1435 | 1435 | check!(a.created()); |
1436 | 1436 | check!(b.created()); |
1437 | 1437 | } |