We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95f7938 commit 2957c4cCopy full SHA for 2957c4c
src/libtest/lib.rs
@@ -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