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.
2 parents 64880e9 + 9a97e20 commit 9f591e8Copy full SHA for 9f591e8
Cargo.toml
@@ -25,7 +25,7 @@ serde = "1.0"
25
serde_json = "1.0"
26
serde_derive = "1.0"
27
rustfix = "0.4.1"
28
-tester = "0.6"
+tester = "0.7"
29
30
[target."cfg(unix)".dependencies]
31
libc = "0.2"
src/lib.rs
@@ -11,6 +11,7 @@
11
#![crate_type = "lib"]
12
13
#![cfg_attr(feature = "rustc", feature(rustc_private))]
14
+#![cfg_attr(feature = "rustc", feature(test))]
15
16
#![deny(unused_imports)]
17
@@ -19,7 +20,10 @@ extern crate rustc;
19
20
21
#[cfg(unix)]
22
extern crate libc;
23
+#[cfg(feature = "rustc")]
24
extern crate test;
+#[cfg(not(feature = "rustc"))]
+extern crate tester as test;
#[cfg(feature = "tmp")] extern crate tempfile;
0 commit comments