Skip to content

Demote x86_64-apple-darwin from Tier 1 to Tier 2 with host tools #3841

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

shepmaster
Copy link
Member

@shepmaster shepmaster commented Jul 23, 2025

@shepmaster shepmaster added T-compiler Relevant to the compiler team, which will review and decide on the RFC. T-release Relevant to the release team, which will review and decide on the RFC. labels Jul 23, 2025
@shepmaster shepmaster force-pushed the demote-x86_64-apple-darwin branch from 74515b9 to 84fcc97 Compare July 23, 2025 13:32
@shepmaster shepmaster force-pushed the demote-x86_64-apple-darwin branch from 84fcc97 to 242cfad Compare July 23, 2025 13:33
@Noratrieb
Copy link
Member

Starting FCP already, we don't have many options here.
@rfcbot fcp merge

@rfcbot
Copy link
Collaborator

rfcbot commented Jul 23, 2025

Team member @Noratrieb has proposed to merge this. The next step is review by the rest of the tagged team members:

Concerns:

Once a majority of reviewers approve (and at most 2 approvals are outstanding), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up!

See this document for info about what commands tagged team members can give me.

@rfcbot rfcbot added proposed-final-comment-period Currently awaiting signoff of all team members in order to enter the final comment period. disposition-merge This RFC is in PFCP or FCP with a disposition to merge it. labels Jul 23, 2025

The first release after this RFC is merged will be the last one with Tier 1 support for the `x86_64-apple-darwin` target.
The release after that will demote the target to Tier 2 with host tools,
which means it will not be tested by CI.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW, we do run some tests for non-tier-1-targets, e.g. some i586 targets. We could probably do the same for x86_64-apple-darwin? IOW, the consequence of this RFC is that we stop promising that we run all the tests, and we'll drop what is impractical, but we don't have to drop everything immediately. We could, for instance, keep running the library tests under rosetta, which shouldn't take too long.

Copy link
Member

@jieyouxu jieyouxu Jul 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it may be feasible for rust-lang/rust to run a subset of tests still for x86_64-apple-darwin, this RFCs just drops that promise. This wording is somewhat accurate in that it's definitely a possibility for us to not run any tests (as per Tier 2 support level), even if that seems unlikely.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that would be good to communicate clearly, also in the blog post: we don't actually plan to drop all tests immediately, we'll continue testing some things under Rosetta where feasible, etc.

Or is our plan really to drop all tests entirely when we stop using the free macos-13 runners?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or is our plan really to drop all tests entirely when we stop using the free macos-13 runners?

I think the intention is to keep that open as a possibility in case it becomes necessary.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, that's what I figured. I think this needs to be quite explicit, or people will conclude that we are dropping all tests immediately.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we can necessarily guarantee that

The RFC currently basically suggests that we guarantee that we don't run any tests.
That is not the same as not guaranteeing that we run all the tests.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The RFC currently basically suggests that we guarantee that we don't run any tests. That is not the same as not guaranteeing that we run all the tests.

So something like

This means that it is no longer guaranteed that the x86_64-apple-darwin target will be tested in CI

Which includes the possibility that no tests for x86_64-apple-darwin is run at all?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. It's definitely a possibility, but it's a matter of continuous evaluation.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this better?

diff --git a/text/3841-demote-x86_64-apple-darwin.md b/text/3841-demote-x86_64-apple-darwin.md
index e1e72361..942446ae 100644
--- a/text/3841-demote-x86_64-apple-darwin.md
+++ b/text/3841-demote-x86_64-apple-darwin.md
@@ -71,7 +71,7 @@ we can see that `x86_64-apple-darwin` has substantially fewer downloads than `aa
 
 The first release after this RFC is merged will be the last one with Tier 1 support for the `x86_64-apple-darwin` target.
 The release after that will demote the target to Tier 2 with host tools,
-which means it will not be tested by CI.
+which means we no longer guarantee that it will be tested by CI.
 
 Once this RFC is merged,
 a blog post will be published on the main Rust Blog announcing the change to alert users of the demotion.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I would prefer that.

@jieyouxu
Copy link
Member

Friendly nudge for the remaining FCP reviewers (would not have done so if it's not as time-sensitive), as on 2025-09-01 GitHub will discontinue providing free macOS x86_64 runners for public repositories, which won't leave us a lot of time for doing the demotion accounting for FCP time.

cc @cjgillot @nagisa @spastorino @wesleywiser

@RalfJung
Copy link
Member

@rfcbot concern dont-commit-to-dropping-all-test-coverage

(Not sure if I can raise concerns here? I'm in t-compiler but not a "maintainer".)

I think we shouldn't prescribe in the RFC that we stop all tests. I think we should just say we stop guaranteeing that all tests are run. That's a big difference. The stats show there's still a lot of x86_64-apple users out there, so it's too early to drop all test coverage entirely.

@jieyouxu
Copy link
Member

@rfcbot concern test-coverage-wording

I think we shouldn't prescribe in the RFC that we stop all tests. I think we should just say we stop guaranteeing that all tests are run. That's a big difference. The stats show there's still a lot of x86_64-apple users out there, so it's too early to drop all test coverage entirely.

-- #3841 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
disposition-merge This RFC is in PFCP or FCP with a disposition to merge it. proposed-final-comment-period Currently awaiting signoff of all team members in order to enter the final comment period. T-compiler Relevant to the compiler team, which will review and decide on the RFC. T-release Relevant to the release team, which will review and decide on the RFC.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants