about summary refs log tree commit diff
path: root/compiler/rustc_target/src/asm/mod.rs
diff options
context:
space:
mode:
authorJubilee Young <workingjubilee@gmail.com>2024-11-02 21:44:31 -0700
committerJubilee Young <workingjubilee@gmail.com>2025-02-06 01:39:46 -0800
commit89da3614e53a1fbebf61ec58c32ca26e371211ae (patch)
tree84e8857ce7ed4ba6093c0948805b12be718bcf35 /compiler/rustc_target/src/asm/mod.rs
parent59588250ad973ce69bd15879314c9769e65f36b3 (diff)
downloadrust-89da3614e53a1fbebf61ec58c32ca26e371211ae.tar.gz
rust-89da3614e53a1fbebf61ec58c32ca26e371211ae.zip
compiler: make rustc_target have less weird reexports
rustc_target has had a lot of weird reexports for various reasons, but
now we're at a point where we can actually start reducing their number.
We remove weird shadowing-dependent behavior and import directly from
rustc_abi instead of doing weird renaming imports.

This is only incremental progress and does not entirely fix the crate.
Diffstat (limited to 'compiler/rustc_target/src/asm/mod.rs')
-rw-r--r--compiler/rustc_target/src/asm/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_target/src/asm/mod.rs b/compiler/rustc_target/src/asm/mod.rs
index f17452b3ba0..0a4ffb15219 100644
--- a/compiler/rustc_target/src/asm/mod.rs
+++ b/compiler/rustc_target/src/asm/mod.rs
@@ -1,11 +1,11 @@
 use std::fmt;
 use std::str::FromStr;
 
+use rustc_abi::Size;
 use rustc_data_structures::fx::{FxHashMap, FxIndexSet};
 use rustc_macros::{Decodable, Encodable, HashStable_Generic};
 use rustc_span::Symbol;
 
-use crate::abi::Size;
 use crate::spec::{RelocModel, Target};
 
 pub struct ModifierInfo {