Skip to content

Commit

Permalink
Fix test on 1.10.0 and earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
roblabla committed Sep 4, 2019
1 parent 7ce006e commit fb54551
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/rustflags.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ extern crate autocfg;
/// rustc.
#[test]
fn test_with_sysroot() {
std::env::set_var("RUSTFLAGS", "-L target/debug/deps");
std::env::set_var("RUSTFLAGS", "-L target/debug/deps -L target/debug");
std::env::set_var("OUT_DIR", "target");
let ac = autocfg::AutoCfg::new().unwrap();
assert!(ac.probe_sysroot_crate("autocfg"));
Expand Down

0 comments on commit fb54551

Please sign in to comment.