mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-06 20:13:42 +00:00
Re-export libtest
This commit is contained in:
parent
95f79380ca
commit
2957c4c42e
17
src/libtest/lib.rs
Normal file
17
src/libtest/lib.rs
Normal file
@ -0,0 +1,17 @@
|
||||
//! Support code for rustc's built in unit-test and micro-benchmarking
|
||||
//! framework.
|
||||
//!
|
||||
//! Almost all user code will only be interested in `Bencher` and
|
||||
//! `black_box`. All other interactions (such as writing tests and
|
||||
//! benchmarks themselves) should be done via the `#[test]` and
|
||||
//! `#[bench]` attributes.
|
||||
//!
|
||||
//! See the [Testing Chapter](../book/ch11-00-testing.html) of the book for more details.
|
||||
|
||||
#![crate_name = "test"]
|
||||
#![unstable(feature = "test", issue = "27812")]
|
||||
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/",
|
||||
test(attr(deny(warnings))))]
|
||||
|
||||
extern crate libtest;
|
||||
pub use libtest::*;
|
Loading…
Reference in New Issue
Block a user