Skip to content

Conversation

RalfJung
Copy link
Member

@RalfJung RalfJung commented Oct 9, 2022

Works around #491: hint::unreachable_unchecked would like to trigger a panic in debug builds, but that would involve non-inline functions, so we cannot use it from compiler_builtins any more.

@RalfJung
Copy link
Member Author

RalfJung commented Oct 9, 2022

Clippy fails, but that is not caused by my changes.

@Amanieu
Copy link
Member

Amanieu commented Oct 10, 2022

Clippy is fixed by #498.

@RalfJung
Copy link
Member Author

Thanks - I rebased, hopefully CI passes now.

@Amanieu Amanieu merged commit a85d17e into rust-lang:master Oct 10, 2022
@RalfJung RalfJung deleted the unreachable branch October 10, 2022 18:08
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.

2 participants