1.65 clippy fixes

This commit is contained in:
Folkert 2022-11-03 16:20:37 +01:00
parent f0d6e418fa
commit 66a1ba00eb
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
53 changed files with 224 additions and 225 deletions

View file

@ -1597,7 +1597,7 @@ mod tests {
// we need to compile the app first
let output = std::process::Command::new(&zig)
.current_dir(dir)
.args(&[
.args([
"build-obj",
"app.zig",
"-fPIC",
@ -1637,7 +1637,7 @@ mod tests {
// now we can compile the host (it uses libapp.so, hence the order here)
let output = std::process::Command::new(&zig)
.current_dir(dir)
.args(&[
.args([
"build-exe",
"libapp.so",
"host.zig",
@ -1672,7 +1672,7 @@ mod tests {
std::fs::copy(&dir.join("preprocessedhost"), &dir.join("final")).unwrap();
surgery_elf(
&*roc_app,
&roc_app,
&dir.join("metadata"),
&dir.join("final"),
false,