diff options
| author | Jubilee Young <workingjubilee@gmail.com> | 2024-11-02 21:44:31 -0700 |
|---|---|---|
| committer | Jubilee Young <workingjubilee@gmail.com> | 2025-02-06 01:39:46 -0800 |
| commit | 89da3614e53a1fbebf61ec58c32ca26e371211ae (patch) | |
| tree | 84e8857ce7ed4ba6093c0948805b12be718bcf35 /compiler/rustc_target/src/callconv/amdgpu.rs | |
| parent | 59588250ad973ce69bd15879314c9769e65f36b3 (diff) | |
| download | rust-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/callconv/amdgpu.rs')
| -rw-r--r-- | compiler/rustc_target/src/callconv/amdgpu.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_target/src/callconv/amdgpu.rs b/compiler/rustc_target/src/callconv/amdgpu.rs index 3007a729a8b..91ac00e0250 100644 --- a/compiler/rustc_target/src/callconv/amdgpu.rs +++ b/compiler/rustc_target/src/callconv/amdgpu.rs @@ -1,5 +1,6 @@ +use rustc_abi::{HasDataLayout, TyAbiInterface}; + use crate::abi::call::{ArgAbi, FnAbi}; -use crate::abi::{HasDataLayout, TyAbiInterface}; fn classify_ret<'a, Ty, C>(_cx: &C, ret: &mut ArgAbi<'a, Ty>) where |
