compiler: Seal off the rustc_target::abi enum glob imports

This commit is contained in:
Jubilee Young 2024-10-08 17:32:52 -07:00
parent d92aee556d
commit 43e198a3ae
2 changed files with 8 additions and 3 deletions

View File

@ -3416,6 +3416,7 @@ dependencies = [
"measureme", "measureme",
"object 0.36.4", "object 0.36.4",
"rustc-demangle", "rustc-demangle",
"rustc_abi",
"rustc_ast", "rustc_ast",
"rustc_attr", "rustc_attr",
"rustc_codegen_ssa", "rustc_codegen_ssa",
@ -3456,6 +3457,7 @@ dependencies = [
"object 0.36.4", "object 0.36.4",
"pathdiff", "pathdiff",
"regex", "regex",
"rustc_abi",
"rustc_arena", "rustc_arena",
"rustc_ast", "rustc_ast",
"rustc_attr", "rustc_attr",
@ -3493,6 +3495,7 @@ name = "rustc_const_eval"
version = "0.0.0" version = "0.0.0"
dependencies = [ dependencies = [
"either", "either",
"rustc_abi",
"rustc_apfloat", "rustc_apfloat",
"rustc_ast", "rustc_ast",
"rustc_attr", "rustc_attr",
@ -3772,6 +3775,7 @@ name = "rustc_hir_typeck"
version = "0.0.0" version = "0.0.0"
dependencies = [ dependencies = [
"itertools", "itertools",
"rustc_abi",
"rustc_ast", "rustc_ast",
"rustc_ast_ir", "rustc_ast_ir",
"rustc_attr", "rustc_attr",
@ -4027,6 +4031,7 @@ dependencies = [
"gsgdt", "gsgdt",
"polonius-engine", "polonius-engine",
"rustc-rayon-core", "rustc-rayon-core",
"rustc_abi",
"rustc_apfloat", "rustc_apfloat",
"rustc_arena", "rustc_arena",
"rustc_ast", "rustc_ast",
@ -4522,6 +4527,7 @@ name = "rustc_ty_utils"
version = "0.0.0" version = "0.0.0"
dependencies = [ dependencies = [
"itertools", "itertools",
"rustc_abi",
"rustc_ast_ir", "rustc_ast_ir",
"rustc_data_structures", "rustc_data_structures",
"rustc_errors", "rustc_errors",

View File

@ -1,9 +1,8 @@
use std::fmt; use std::fmt;
use std::ops::Deref; use std::ops::Deref;
pub use Float::*; use Float::*;
pub use Integer::*; use Primitive::*;
pub use Primitive::*;
use rustc_data_structures::intern::Interned; use rustc_data_structures::intern::Interned;
use rustc_macros::HashStable_Generic; use rustc_macros::HashStable_Generic;