-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Expose begin_unwind somewhere besides libstd #21880
Comments
CC @aturon was this intended? |
We haven't had a great stabilization story for this usage, and this was a byproduct of moving rustrt into std. It should be easy enough to expose something on an experimental basis, but will take more thought to develop a long-term, stable design. @kmcallister If you wanted to make a PR just making this stuff public under |
Due to recent changes to stability lints we now have two stable functions:
I believe, however, that the motivation for this issue is to mirror the same structure in libstd as it is in libcore to allow |
begin_unwind is gone entirely, and i believe that panic handlers cover this use-case today. Is this still a valid bug? |
Nah I don't think this is valid any more |
It used to be in librustrt but that's gone now. This is currently blocking my ability to enable
derive(Rand)
andderive(Rustc{En,De}codable)
for no-std crates.The text was updated successfully, but these errors were encountered: