Skip to content

Commit 2957c4c

Browse files
committed
Re-export libtest
1 parent 95f7938 commit 2957c4c

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

src/libtest/lib.rs

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
//! Support code for rustc's built in unit-test and micro-benchmarking
2+
//! framework.
3+
//!
4+
//! Almost all user code will only be interested in `Bencher` and
5+
//! `black_box`. All other interactions (such as writing tests and
6+
//! benchmarks themselves) should be done via the `#[test]` and
7+
//! `#[bench]` attributes.
8+
//!
9+
//! See the [Testing Chapter](../book/ch11-00-testing.html) of the book for more details.
10+
11+
#![crate_name = "test"]
12+
#![unstable(feature = "test", issue = "27812")]
13+
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/",
14+
test(attr(deny(warnings))))]
15+
16+
extern crate libtest;
17+
pub use libtest::*;

0 commit comments

Comments
 (0)