mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-16 12:55:23 +01:00
cargo fmt
This commit is contained in:
parent
2b8e743f35
commit
7ce052be37
3 changed files with 17 additions and 17 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue