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.
1 parent 82daebc commit 2f2219bCopy full SHA for 2f2219b
tests/compiletest.rs
@@ -23,7 +23,7 @@ fn run_mode(mode: &'static str) {
23
for &target in targets {
24
let mut config = compiletest::default_config();
25
config.host_rustcflags = Some(sysroot_flag.clone());
26
- config.mode = mode.parse().ok().expect("Invalid mode");
+ config.mode = mode.parse().expect("Invalid mode");
27
config.run_lib_path = format!("{}/lib/rustlib/{}/lib", sysroot, target);
28
config.rustc_path = "target/debug/miri".into();
29
config.src_base = PathBuf::from(format!("tests/{}", mode));
0 commit comments