cargo fmt

This commit is contained in:
Jorge Aparicio 2019-02-16 00:26:07 +01:00
parent 2b8e743f35
commit 7ce052be37
3 changed files with 17 additions and 17 deletions

View file

@ -38,18 +38,16 @@ fn cfail() {
let f = f.unwrap().path();
let name = f.file_stem().unwrap().to_str().unwrap();
assert!(
Command::new("rustc")
.args(s.split_whitespace())
.arg(f.display().to_string())
.arg("-o")
.arg(td.path().join(name).display().to_string())
.arg("-C")
.arg("linker=true")
.status()
.unwrap()
.success()
);
assert!(Command::new("rustc")
.args(s.split_whitespace())
.arg(f.display().to_string())
.arg("-o")
.arg(td.path().join(name).display().to_string())
.arg("-C")
.arg("linker=true")
.status()
.unwrap()
.success());
}
config.target_rustcflags = Some(s);