diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-07-06 15:56:13 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-06 15:56:13 +0200 |
| commit | bae6714fe2c9efecd54befc34e9b90d15b99dd66 (patch) | |
| tree | fb8158b9302e4f312ef2106a5abf50ea21a0facc /compiler/rustc_codegen_gcc/src | |
| parent | 017fe2fb8f1dc4cc1a4ffa2ea4bdfb62814a10ff (diff) | |
| parent | ea7b7568759e071f50060a2d76a4619de6c42c2f (diff) | |
| download | rust-bae6714fe2c9efecd54befc34e9b90d15b99dd66.tar.gz rust-bae6714fe2c9efecd54befc34e9b90d15b99dd66.zip | |
Rollup merge of #143492 - Diggsey:db-fix-object-ambiguity, r=RalfJung
Use `object` crate from crates.io to fix windows build error See https://rust-lang.zulipchat.com/#narrow/channel/386786-rustc-codegen-gcc/topic/Cannot.20compile.20rustc.20on.20Windows.2010/with/527240094
Diffstat (limited to 'compiler/rustc_codegen_gcc/src')
| -rw-r--r-- | compiler/rustc_codegen_gcc/src/lib.rs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/compiler/rustc_codegen_gcc/src/lib.rs b/compiler/rustc_codegen_gcc/src/lib.rs index a912678ef2a..1a6eec0ed0b 100644 --- a/compiler/rustc_codegen_gcc/src/lib.rs +++ b/compiler/rustc_codegen_gcc/src/lib.rs @@ -26,12 +26,9 @@ #![deny(clippy::pattern_type_mismatch)] #![allow(clippy::needless_lifetimes, clippy::uninlined_format_args)] -// Some "regular" crates we want to share with rustc -extern crate object; +// 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; |
