Skip to content

Commit

Permalink
Simplify compiletest.
Browse files Browse the repository at this point in the history
  • Loading branch information
solson committed Jun 13, 2016
1 parent 82daebc commit 2f2219b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/compiletest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ fn run_mode(mode: &'static str) {
for &target in targets {
let mut config = compiletest::default_config();
config.host_rustcflags = Some(sysroot_flag.clone());
config.mode = mode.parse().ok().expect("Invalid mode");
config.mode = mode.parse().expect("Invalid mode");
config.run_lib_path = format!("{}/lib/rustlib/{}/lib", sysroot, target);
config.rustc_path = "target/debug/miri".into();
config.src_base = PathBuf::from(format!("tests/{}", mode));
Expand Down

0 comments on commit 2f2219b

Please sign in to comment.