Skip to content

windows: remove support for slim rwlock #3370

New issue

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

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

Already on GitHub? # to your account

Merged
merged 1 commit into from
Mar 12, 2024
Merged

Conversation

RalfJung
Copy link
Member

@RalfJung RalfJung commented Mar 9, 2024

Since rust-lang/rust#121956 we don't need it any more, and we are generally short on Windows staff so reducing the amount of code we have to test and maintain sounds like a good idea.

The InitOnce stuff is still used by thread_local_key::StaticKey on 64bit windows-gnu i686-pc-windows-msvc.

Since rust-lang/rust#121956 we don't need it any more,
and we are generally short on Windows staff so reducing the amount of code we
have to test and maintain sounds like a good idea.

The InitOnce stuff is still used by `thread_local_key::StaticKey`.
@RalfJung
Copy link
Member Author

@rust-lang/miri any objections to this?

@saethlin
Copy link
Member

No objection. I don't see any reason to support things like this that aren't used in the standard library anymore. If this is a problem for someone, hopefully they file an issue so we can at least know that such usage exists.

@RalfJung
Copy link
Member Author

@bors r+

@bors
Copy link
Contributor

bors commented Mar 12, 2024

📌 Commit dbb451c has been approved by RalfJung

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Mar 12, 2024

⌛ Testing commit dbb451c with merge b228407...

@bors
Copy link
Contributor

bors commented Mar 12, 2024

☀️ Test successful - checks-actions
Approved by: RalfJung
Pushing b228407 to master...

@bors bors merged commit b228407 into rust-lang:master Mar 12, 2024
@RalfJung RalfJung deleted the windows-sync branch March 12, 2024 20:05
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants