Skip to content

Commit 7639773

Browse files
compiler: Directly use rustc_abi in session
1 parent 586e141 commit 7639773

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/rustc_session/src/cstore.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
use std::any::Any;
66
use std::path::PathBuf;
77

8+
use rustc_abi::ExternAbi;
89
use rustc_ast as ast;
910
use rustc_data_structures::sync::{self, AppendOnlyIndexVec, FreezeLock};
1011
use rustc_hir::def_id::{
@@ -14,7 +15,6 @@ use rustc_hir::definitions::{DefKey, DefPath, DefPathHash, Definitions};
1415
use rustc_macros::{Decodable, Encodable, HashStable_Generic};
1516
use rustc_span::Span;
1617
use rustc_span::symbol::Symbol;
17-
use rustc_target::spec::abi::Abi;
1818

1919
use crate::search_paths::PathKind;
2020
use crate::utils::NativeLibKind;
@@ -148,7 +148,7 @@ pub enum DllCallingConvention {
148148
pub struct ForeignModule {
149149
pub foreign_items: Vec<DefId>,
150150
pub def_id: DefId,
151-
pub abi: Abi,
151+
pub abi: ExternAbi,
152152
}
153153

154154
#[derive(Copy, Clone, Debug, HashStable_Generic)]

0 commit comments

Comments
 (0)