about summary refs log tree commit diff
path: root/src/libstd/rt.rs
AgeCommit message (Collapse)AuthorLines
2015-12-29Fix warnings when compiling stdlib with --testFlorian Hahn-7/+9
2015-12-09std: Rename thread::catch_panic to panic::recoverAlex Crichton-2/+3
This commit is an implementation of [RFC 1236] and [RFC 1323] which rename the `thread::catch_panic` function to `panic::recover` while also replacing the `Send + 'static` bounds with a new `PanicSafe` bound. [RFC 1236]: https://github.com/rust-lang/rfcs/pull/1236 [RFC 1323]: https://github.com/rust-lang/rfcs/pull/1323 cc #27719
2015-10-21Moar comments.Vadim Chugunov-0/+5
2015-09-11std: Internalize almost all of `std::rt`Alex Crichton-0/+65
This commit does some refactoring to make almost all of the `std::rt` private. Specifically, the following items are no longer part of its API: * DEFAULT_ERROR_CODE * backtrace * unwind * args * at_exit * cleanup * heap (this is just alloc::heap) * min_stack * util The module is now tagged as `#[doc(hidden)]` as the only purpose it's serve is an entry point for the `panic!` macro via the `begin_unwind` and `begin_unwind_fmt` reexports.