rust icon indicating copy to clipboard operation
rust copied to clipboard

Update Windows platform support

Open ChrisDenton opened this issue 1 year ago • 29 comments

This should not be merged until Rust 1.76 but I'm told this may need an fcp in addition to MCP 651.

cc @rust-lang/compiler @rust-lang/release

ChrisDenton avatar Aug 23 '23 17:08 ChrisDenton

r? @ehuss

(rustbot has picked a reviewer for you, use r? to override)

rustbot avatar Aug 23 '23 17:08 rustbot

Similarly to https://github.com/rust-lang/rust/pull/104385#issuecomment-1686512864, should this be a T-libs + T-compiler FCP, rather than T-compiler + T-release? I don't actually think we have a policy around bumping minimum support.

compiler-errors avatar Aug 23 '23 18:08 compiler-errors

I have no idea. I'd really love to have some clarity on the procedure.

ChrisDenton avatar Aug 23 '23 18:08 ChrisDenton

The current target policy says:

Raising the baseline expectations of a tier 1 target (such as the minimum CPU features or OS version required) requires the approval of the compiler and release teams, and should be widely communicated as well, but does not necessarily require a full RFC.

(I'm not opposed to including T-libs, just quoting what we have.)

cuviper avatar Aug 23 '23 18:08 cuviper

I'm not sure who to assign.

r? @compiler-errors

ehuss avatar Sep 10 '23 17:09 ehuss

:umbrella: The latest upstream changes (presumably #104385) made this pull request unmergeable. Please resolve the merge conflicts.

bors avatar Sep 24 '23 04:09 bors

Sure let's do an FCP. See MCP for details.

@rfcbot fcp merge

compiler-errors avatar Sep 28 '23 22:09 compiler-errors

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

  • [x] @Aaron1011
  • [x] @Dylan-DPC
  • [x] @Mark-Simulacrum
  • [x] @cjgillot
  • [x] @compiler-errors
  • [x] @cuviper
  • [x] @davidtwco
  • [x] @eddyb
  • [ ] @estebank
  • [x] @jackh726
  • [x] @lcnr
  • [x] @matthewjasper
  • [x] @michaelwoerister
  • [x] @nagisa
  • [x] @oli-obk
  • [x] @petrochenkov
  • [x] @pietroalbini
  • [x] @pnkfelix
  • [x] @tmandry
  • [x] @wesleywiser

Concerns:

  • ~~needs-blog-post~~ resolved by https://github.com/rust-lang/rust/pull/115141#issuecomment-1966244246

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 avatar Sep 28 '23 22:09 rfcbot

@rfcbot concern needs-blog-post

petrochenkov avatar Oct 04 '23 08:10 petrochenkov

is this in part a deprecation of Windows 7 official support?

molecula451 avatar Oct 04 '23 08:10 molecula451

needs-blog-post

Just to note, the intent to update Windows compatibility was announced in the Rust 1.72.0 blog post, which was a light release so there was some discussion.

ChrisDenton avatar Oct 04 '23 13:10 ChrisDenton

I think this PR should be merged with (and backport to) the 1.76 release this week to avoid confusion like the MIPS demotion. (edit: since there's actually no concrete change and the target can still work on Windows 7, waiting for the next release seems also fine.)

slanterns avatar Feb 05 '24 12:02 slanterns

A blog post is being prepared if anyone has any final comments. I don't know if anyone has any thoughts on post date for the blog. I'm thinking soon.

ChrisDenton avatar Feb 09 '24 16:02 ChrisDenton

As noted by @dpaoliello, we don't officially support XP even at tier 3 so I've also removed that. Of course no_std XP may work but it's not special in that regard. People have managed to compile Rust programs for old Windows versions at least as far back as Win95, which is great but not something that the Rust project currently supports in an official capacity.

ChrisDenton avatar Feb 26 '24 22:02 ChrisDenton

The blog post has been posted so I believe this should be unblocked and ready to merge now?

ChrisDenton avatar Feb 27 '24 04:02 ChrisDenton

@rfcbot resolve needs-blog-post

petrochenkov avatar Feb 27 '24 10:02 petrochenkov

@Aaron1011, @estebank or @pnkfelix would you mind checking your box or leaving a concern on this FCP?

Thanks! 🙂

wesleywiser avatar Feb 27 '24 21:02 wesleywiser

:bell: This is now entering its final comment period, as per the review above. :bell:

rfcbot avatar Feb 29 '24 15:02 rfcbot

:umbrella: The latest upstream changes (presumably #121998) made this pull request unmergeable. Please resolve the merge conflicts.

bors avatar Mar 05 '24 00:03 bors

The final comment period, with a disposition to merge, as per the review above, is now complete.

As the automated representative of the governance process, I would like to thank the author for their work and everyone else who contributed.

This will be merged soon.

rfcbot avatar Mar 10 '24 15:03 rfcbot

These commits modify compiler targets. (See the Target Tier Policy.)

rustbot avatar Mar 10 '24 15:03 rustbot

Rebased.

ChrisDenton avatar Mar 10 '24 15:03 ChrisDenton

:umbrella: The latest upstream changes (presumably #122305) made this pull request unmergeable. Please resolve the merge conflicts.

bors avatar Mar 11 '24 14:03 bors

FYI, I used the Windows targets as examples when filling out the description field in the targets, so you'll need to update the text there to: https://github.com/rust-lang/rust/commit/d6b597b786fad6e726fe458bb329959979a0e239

dpaoliello avatar Mar 11 '24 17:03 dpaoliello

I think I sneaked that in before your comment, no?

ChrisDenton avatar Mar 11 '24 18:03 ChrisDenton

I think I sneaked that in before your comment, no?

Ah, you did, my bad for not checking the files...

dpaoliello avatar Mar 11 '24 18:03 dpaoliello

I probably should have made a new commit. But I am a fan of having a clean commit history 😁

ChrisDenton avatar Mar 11 '24 18:03 ChrisDenton

The FCP has concluded, therefore:

@bors r+ rollup

wesleywiser avatar Mar 11 '24 19:03 wesleywiser

:pushpin: Commit 779ac6951f8bd03e1fa5214d1637de9e5e5e8a7f has been approved by wesleywiser

It is now in the queue for this repository.

bors avatar Mar 11 '24 19:03 bors