Browse Source

Don't pass `u` to `ar`

It seems to cause warnings and otherwise we don't really need it as we're always
creating new archives.
vs2017
Alex Crichton 8 years ago
parent
commit
a97a973a89
  1. 2
      src/lib.rs

2
src/lib.rs

@ -611,7 +611,7 @@ impl Config {
} else { } else {
let ar = self.get_ar(); let ar = self.get_ar();
let cmd = ar.file_name().unwrap().to_string_lossy(); let cmd = ar.file_name().unwrap().to_string_lossy();
run(self.cmd(&ar).arg("crus") run(self.cmd(&ar).arg("crs")
.arg(dst) .arg(dst)
.args(objects) .args(objects)
.args(&self.objects), &cmd); .args(&self.objects), &cmd);

Loading…
Cancel
Save