Skip to content

Commit

Permalink
tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
qmx committed Oct 21, 2018
1 parent 99e5699 commit 7dd0e38
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/tools/compiletest/src/runtest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1574,7 +1574,10 @@ impl<'test> TestCx<'test> {

for aux_crate in &self.props.aux_crates {
rustc.arg("--extern");
rustc.arg(format!("{}={}/lib{}", aux_crate.key, aux_dir.display(), &aux_crate.value.replace(".rs", ".so").replace("-","_")));
rustc.arg(format!("{}={}/lib{}",
aux_crate.key,
aux_dir.display(),
&aux_crate.value.replace(".rs", ".so").replace("-","_")));
}

self.compose_and_run(
Expand Down

0 comments on commit 7dd0e38

Please sign in to comment.