rust/compiler/rustc_codegen_gcc/src
bors 28d0a4a205 Auto merge of #143548 - Diggsey:db-limit-extern-crate-usage, r=oli-obk
Restrict sysroot crate imports to those defined in this repo.

It's common to import dependencies from the sysroot via `extern crate` rather than use an explicit cargo dependency, when it's necessary to use the same dependency version as used by rustc itself. However, this is dangerous for crates.io crates, since rustc may not pull in the dependency on some targets, or may pull in multiple versions. In both cases, the `extern crate` fails to resolve.

To address this, re-export all such dependencies from the appropriate `rustc_*` crates, and use this alias from crates which would otherwise need to use `extern crate`.

See https://github.com/rust-lang/rust/pull/143492 for an example of the kind of issue that can occur.
2025-10-15 13:32:03 +00:00
..
back Restrict sysroot crate imports to those defined in this repo. 2025-10-15 13:17:25 +01:00
intrinsic Rollup merge of #144197 - KMJ-007:type-tree, r=ZuseZ4 2025-09-28 18:13:11 +02:00
abi.rs Merge commit '4b5c44b141' into subtree-update_cg_gcc_2025-06-30 2025-06-30 16:12:42 +02:00
allocator.rs Move computation of allocator shim contents to cg_ssa 2025-10-10 13:04:55 +00:00
asm.rs Implement ppc/ppc64 preserves_flags option for inline asm 2025-10-14 10:05:07 -05:00
attributes.rs remove rustc_attr_data_structures 2025-07-31 14:19:27 +02:00
base.rs Add panic=immediate-abort 2025-09-21 13:12:18 -04:00
builder.rs added typetree support for memcpy 2025-09-19 04:02:20 +00:00
callee.rs remove rustc_attr_data_structures 2025-07-31 14:19:27 +02:00
common.rs Add opaque TypeId handles for CTFE 2025-07-09 16:37:11 +00:00
consts.rs Restrict sysroot crate imports to those defined in this repo. 2025-10-15 13:17:25 +01:00
context.rs remove explicit deref of AbiAlign for most methods 2025-09-28 15:02:14 -07:00
coverageinfo.rs Unbox and unwrap the contents of StatementKind::Coverage 2024-03-23 22:05:11 +11:00
debuginfo.rs codegen: Generate dbg_value for the ref statement 2025-10-02 14:55:51 +08:00
declare.rs Merge commit 'b7091eca6d' into subtree-update_cg_gcc_2025-06-28 2025-06-28 23:37:08 +02:00
errors.rs Implement support for explicit tail calls in the MIR block builders and the LLVM codegen backend. 2025-07-26 01:02:29 +02:00
gcc_util.rs Restrict sysroot crate imports to those defined in this repo. 2025-10-15 13:17:25 +01:00
int.rs Merge commit '482e8540a1' into subtree-update_cg_gcc_2025-08-04 2025-08-04 10:49:43 +02:00
lib.rs Auto merge of #143548 - Diggsey:db-limit-extern-crate-usage, r=oli-obk 2025-10-15 13:32:03 +00:00
mono_item.rs Port the #[linkage] attribute to the new attribute system 2025-08-13 21:01:37 +02:00
type_.rs Merge commit 'fda0bb9588' into subtree-update_cg_gcc_2025-06-18 2025-06-18 15:11:44 +02:00
type_of.rs erase_regions to erase_and_anonymize_regions 2025-09-09 14:49:16 +02:00