diff options
| author | Jubilee Young <workingjubilee@gmail.com> | 2024-10-08 17:27:02 -0700 |
|---|---|---|
| committer | Jubilee Young <workingjubilee@gmail.com> | 2024-10-08 18:24:56 -0700 |
| commit | d92aee556d92214f972ed91499e61474ad38aa9d (patch) | |
| tree | 013637d71d68bf228ed0ef426a2d01b351a63381 /compiler/rustc_codegen_gcc/src/common.rs | |
| parent | b3beb4efc7cd2240a3ef96dd1e35cbd148ef97ef (diff) | |
| download | rust-d92aee556d92214f972ed91499e61474ad38aa9d.tar.gz rust-d92aee556d92214f972ed91499e61474ad38aa9d.zip | |
cg_gcc: Factor out rustc_target::abi
Diffstat (limited to 'compiler/rustc_codegen_gcc/src/common.rs')
| -rw-r--r-- | compiler/rustc_codegen_gcc/src/common.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_gcc/src/common.rs b/compiler/rustc_codegen_gcc/src/common.rs index 726b126e727..0d3e7083d56 100644 --- a/compiler/rustc_codegen_gcc/src/common.rs +++ b/compiler/rustc_codegen_gcc/src/common.rs @@ -1,11 +1,13 @@ use gccjit::{LValue, RValue, ToRValue, Type}; +use rustc_abi as abi; +use rustc_abi::HasDataLayout; +use rustc_abi::Primitive::Pointer; use rustc_codegen_ssa::traits::{ BaseTypeCodegenMethods, ConstCodegenMethods, MiscCodegenMethods, StaticCodegenMethods, }; use rustc_middle::mir::Mutability; use rustc_middle::mir::interpret::{ConstAllocation, GlobalAlloc, Scalar}; use rustc_middle::ty::layout::LayoutOf; -use rustc_target::abi::{self, HasDataLayout, Pointer}; use crate::consts::const_alloc_to_gcc; use crate::context::CodegenCx; |
