Skip to content

Commit 4804055

Browse files
committed
Fix Clippy
1 parent 7ce220d commit 4804055

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/bootstrap/src/core/build_steps/compile.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1721,7 +1721,7 @@ impl Step for GccCodegenBackend {
17211721
cargo.arg("--manifest-path").arg(builder.src.join("compiler/rustc_codegen_gcc/Cargo.toml"));
17221722
rustc_cargo_env(builder, &mut cargo, target);
17231723

1724-
add_cg_gcc_cargo_flags(&mut cargo, &dylib_set.host_dylib());
1724+
add_cg_gcc_cargo_flags(&mut cargo, dylib_set.host_dylib());
17251725

17261726
let _guard =
17271727
builder.msg(Kind::Build, "codegen backend gcc", Mode::Codegen, build_compiler, target);

src/bootstrap/src/core/build_steps/dist.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2857,7 +2857,7 @@ impl Step for Gcc {
28572857
fn run(self, builder: &Builder<'_>) -> Self::Output {
28582858
let tarball = Tarball::new(builder, "gcc", &self.target.triple);
28592859
let output = builder.ensure(super::gcc::Gcc { target: self.target });
2860-
tarball.add_file(&output.libgccjit(), "lib", FileType::NativeLibrary);
2860+
tarball.add_file(output.libgccjit(), "lib", FileType::NativeLibrary);
28612861
tarball.generate()
28622862
}
28632863

0 commit comments

Comments
 (0)