Skip to content

Commit 9f591e8

Browse files
authored
Merge pull request #208 from messense/tester-0-7
Update `tester` dependency to 0.7.0
2 parents 64880e9 + 9a97e20 commit 9f591e8

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ serde = "1.0"
2525
serde_json = "1.0"
2626
serde_derive = "1.0"
2727
rustfix = "0.4.1"
28-
tester = "0.6"
28+
tester = "0.7"
2929

3030
[target."cfg(unix)".dependencies]
3131
libc = "0.2"

src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#![crate_type = "lib"]
1212

1313
#![cfg_attr(feature = "rustc", feature(rustc_private))]
14+
#![cfg_attr(feature = "rustc", feature(test))]
1415

1516
#![deny(unused_imports)]
1617

@@ -19,7 +20,10 @@ extern crate rustc;
1920

2021
#[cfg(unix)]
2122
extern crate libc;
23+
#[cfg(feature = "rustc")]
2224
extern crate test;
25+
#[cfg(not(feature = "rustc"))]
26+
extern crate tester as test;
2327

2428
#[cfg(feature = "tmp")] extern crate tempfile;
2529

0 commit comments

Comments
 (0)