about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/src
diff options
context:
space:
mode:
authorDiggory Blake <diggsey@googlemail.com>2025-07-05 17:23:39 +0100
committerDiggory Blake <diggsey@googlemail.com>2025-07-05 17:24:22 +0100
commitea7b7568759e071f50060a2d76a4619de6c42c2f (patch)
tree3182f01973f08e6d6d8dc13fad185dccefb66426 /compiler/rustc_codegen_gcc/src
parenta839b071f7988e77040474dc870ba16b77666a8f (diff)
downloadrust-ea7b7568759e071f50060a2d76a4619de6c42c2f.tar.gz
rust-ea7b7568759e071f50060a2d76a4619de6c42c2f.zip
Make tempfile a normal dependency
Diffstat (limited to 'compiler/rustc_codegen_gcc/src')
-rw-r--r--compiler/rustc_codegen_gcc/src/lib.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/compiler/rustc_codegen_gcc/src/lib.rs b/compiler/rustc_codegen_gcc/src/lib.rs
index 56afdd55bf9..1a6eec0ed0b 100644
--- a/compiler/rustc_codegen_gcc/src/lib.rs
+++ b/compiler/rustc_codegen_gcc/src/lib.rs
@@ -26,11 +26,9 @@
 #![deny(clippy::pattern_type_mismatch)]
 #![allow(clippy::needless_lifetimes, clippy::uninlined_format_args)]
 
-// Some "regular" crates we want to share with rustc
+// These crates are pulled from the sysroot because they are part of
+// rustc's public API, so we need to ensure version compatibility.
 extern crate smallvec;
-// FIXME(antoyo): clippy bug: remove the #[allow] when it's fixed.
-#[allow(unused_extern_crates)]
-extern crate tempfile;
 #[macro_use]
 extern crate tracing;