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

Add back assert_unsafe_precondition in hint::unreachable_unchecked #102844

Closed
RalfJung opened this issue Oct 9, 2022 · 1 comment
Closed

Add back assert_unsafe_precondition in hint::unreachable_unchecked #102844

RalfJung opened this issue Oct 9, 2022 · 1 comment

Comments

@RalfJung
Copy link
Member

RalfJung commented Oct 9, 2022

#102732 had to temporarily remove the assert_unsafe_precondition in hint::unreachable_unchecked to work around rust-lang/compiler-builtins#491. Once rust-lang/compiler-builtins#496 lands and propagates, we should bring back the assert_unsafe_precondition in hint::unreachable_unchecked.

@RalfJung
Copy link
Member Author

RalfJung commented Nov 5, 2022

#102732 ended up not having to do this.

@RalfJung RalfJung closed this as completed Nov 5, 2022
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

No branches or pull requests

1 participant