about summary refs log tree commit diff
path: root/src/libstd/termination.rs
AgeCommit message (Collapse)AuthorLines
2018-02-22move Termination trait to std::processNiko Matsakis-81/+0
2018-02-22put the "unit test" logic into libtestNiko Matsakis-13/+10
Also make `std::termination` module public and rename feature. The lib feature needs a different name from the language feature.
2018-02-22support unit tests with return values that implement `Terminaton`Niko Matsakis-0/+7
Extend `Termination` trait with a method to determine what happens with a unit test. This commit incorporates work by Bastian Köcher <git@kchr.de>.
2018-02-12changed termination_trait's bound from Error to Debug; added compiletest ↵Brad Gibson-12/+3
header command and appropriate tests
2018-01-04Bump to 1.25.0Alex Crichton-1/+1
* Bump the release version to 1.25 * Bump the bootstrap compiler to the recent beta * Allow using unstable rustdoc features on beta - this fix has been applied to the beta branch but needed to go to the master branch as well.
2017-12-26Rework the exit failure and success declaration for wasm32Bastian Köcher-4/+14
2017-12-26Don't emit the termination lang item in testsBastian Köcher-1/+1
2017-12-26Adds termination_trait feature gateBastian Köcher-7/+7
2017-12-26Fixes compilation errors and adds proposed improvementsBastian Köcher-0/+2
2017-12-26Implements RFC 1937: `?` in `main`Bastian Köcher-0/+74
This is the first part of the RFC 1937 that supports new `Termination` trait in the rust `main` function.