Skip to content
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

do not consider thread-local allocations read-only #2074

Merged
merged 1 commit into from
Apr 19, 2022

Conversation

RalfJung
Copy link
Member

They are not in read-only memory the way regular statics are.

Fixes rust-lang/rust#96191

@RalfJung
Copy link
Member Author

@bors r+

@bors
Copy link
Contributor

bors commented Apr 19, 2022

📌 Commit 763ff1c has been approved by RalfJung

@bors
Copy link
Contributor

bors commented Apr 19, 2022

⌛ Testing commit 763ff1c with merge 598ae74...

@bors
Copy link
Contributor

bors commented Apr 19, 2022

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

@bors bors merged commit 598ae74 into rust-lang:master Apr 19, 2022
@RalfJung RalfJung deleted the tls-ro branch April 20, 2022 01:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

miri: ub inside safe code with feature thread_local
2 participants