Update to latest compiletest version
This commit is contained in:
parent
b1eec6b402
commit
9b3ea4264f
@ -4,7 +4,7 @@ use std::path::PathBuf;
|
||||
use std::env::{set_var, var};
|
||||
|
||||
fn run_mode(dir: &'static str, mode: &'static str) {
|
||||
let mut config = compiletest::default_config();
|
||||
let mut config = compiletest::Config::default();
|
||||
|
||||
let cfg_mode = mode.parse().expect("Invalid mode");
|
||||
config.target_rustcflags = Some("-L target/debug/ -L target/debug/deps -Dwarnings".to_owned());
|
||||
|
@ -18,7 +18,7 @@ fn dogfood() {
|
||||
}
|
||||
}
|
||||
|
||||
let mut config = compiletest::default_config();
|
||||
let mut config = compiletest::Config::default();
|
||||
|
||||
let cfg_mode = "run-fail".parse().expect("Invalid mode");
|
||||
let mut s = String::new();
|
||||
|
Loading…
Reference in New Issue
Block a user