]> git.lizzy.rs Git - rust.git/commit
std: Destabilize the internals of panic!
authorAlex Crichton <alex@alexcrichton.com>
Wed, 8 Apr 2015 22:48:46 +0000 (15:48 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 8 Apr 2015 22:48:46 +0000 (15:48 -0700)
commit65e3f0325a64d8f1affa146b3575a4b7c90458d7
treec15a4c19ec50853c86def66321277123bb9b8119
parent926f38e588bb99aff1902fa94ab82b1db89cbbce
std: Destabilize the internals of panic!

Now that we have a `#[allow_internal_unstable]` attribute for macros there's no
need for these two `begin_unwind` functions to be stable. Right now the `panic!`
interface is the only one we wish to stabilize, so remove the stability markers
from these functions.

While this is a breaking change, it is highly unlikely to break any actual code.
It is recommended to use the `panic!` macro instead if it breaks explicit calls
into `std::rt`.

[breaking-change]
cc #24208
src/libstd/macros.rs
src/libstd/rt/unwind.rs