From a97a973a8970d8f383043e34a88f177da36ecf78 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Sun, 23 Oct 2016 10:38:32 -0700 Subject: [PATCH] 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. --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 4750a1d..f319e93 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -611,7 +611,7 @@ impl Config { } else { let ar = self.get_ar(); let cmd = ar.file_name().unwrap().to_string_lossy(); - run(self.cmd(&ar).arg("crus") + run(self.cmd(&ar).arg("crs") .arg(dst) .args(objects) .args(&self.objects), &cmd);