Fix format.

This commit is contained in:
O01eg 2018-12-06 13:46:23 +03:00
parent 5113de90d1
commit 278b94e6db
No known key found for this signature in database
GPG Key ID: 8FBA74B3E78B4677
1 changed files with 5 additions and 1 deletions

View File

@ -78,7 +78,11 @@ fn config(mode: &str, dir: PathBuf) -> compiletest::Config {
config.run_lib_path = rustc_lib_path();
config.compile_lib_path = rustc_lib_path();
}
config.target_rustcflags = Some(format!("-L {0} -L {0}/deps -Dwarnings --sysroot {1}", host_libs().display(), rustc_sysroot_path().display()));
config.target_rustcflags = Some(format!(
"-L {0} -L {0}/deps -Dwarnings --sysroot {1}",
host_libs().display(),
rustc_sysroot_path().display()
));
config.mode = cfg_mode;
config.build_base = if rustc_test_suite().is_some() {