@@ -38,15 +38,15 @@ use std::sync::Arc;
38
38
39
39
use cranelift_codegen:: isa:: TargetIsa ;
40
40
use cranelift_codegen:: settings:: { self , Configurable } ;
41
- use rustc_codegen_ssa:: traits:: CodegenBackend ;
42
41
use rustc_codegen_ssa:: CodegenResults ;
42
+ use rustc_codegen_ssa:: traits:: CodegenBackend ;
43
43
use rustc_data_structures:: profiling:: SelfProfilerRef ;
44
44
use rustc_errors:: ErrorGuaranteed ;
45
45
use rustc_metadata:: EncodedMetadata ;
46
46
use rustc_middle:: dep_graph:: { WorkProduct , WorkProductId } ;
47
- use rustc_session:: config:: OutputFilenames ;
48
47
use rustc_session:: Session ;
49
- use rustc_span:: { sym, Symbol } ;
48
+ use rustc_session:: config:: OutputFilenames ;
49
+ use rustc_span:: { Symbol , sym} ;
50
50
51
51
pub use crate :: config:: * ;
52
52
use crate :: prelude:: * ;
@@ -83,13 +83,13 @@ mod value_and_place;
83
83
mod vtable;
84
84
85
85
mod prelude {
86
+ pub ( crate ) use cranelift_codegen:: Context ;
86
87
pub ( crate ) use cranelift_codegen:: ir:: condcodes:: { FloatCC , IntCC } ;
87
88
pub ( crate ) use cranelift_codegen:: ir:: function:: Function ;
88
89
pub ( crate ) use cranelift_codegen:: ir:: {
89
- types , AbiParam , Block , FuncRef , Inst , InstBuilder , MemFlags , Signature , SourceLoc ,
90
- StackSlot , StackSlotData , StackSlotKind , TrapCode , Type , Value ,
90
+ AbiParam , Block , FuncRef , Inst , InstBuilder , MemFlags , Signature , SourceLoc , StackSlot ,
91
+ StackSlotData , StackSlotKind , TrapCode , Type , Value , types ,
91
92
} ;
92
- pub ( crate ) use cranelift_codegen:: Context ;
93
93
pub ( crate ) use cranelift_module:: { self , DataDescription , FuncId , Linkage , Module } ;
94
94
pub ( crate ) use rustc_data_structures:: fx:: { FxHashMap , FxIndexMap } ;
95
95
pub ( crate ) use rustc_hir:: def_id:: { DefId , LOCAL_CRATE } ;
@@ -100,7 +100,7 @@ mod prelude {
100
100
self , FloatTy , Instance , InstanceKind , IntTy , ParamEnv , Ty , TyCtxt , UintTy ,
101
101
} ;
102
102
pub ( crate ) use rustc_span:: Span ;
103
- pub ( crate ) use rustc_target:: abi:: { Abi , FieldIdx , Scalar , Size , VariantIdx , FIRST_VARIANT } ;
103
+ pub ( crate ) use rustc_target:: abi:: { Abi , FIRST_VARIANT , FieldIdx , Scalar , Size , VariantIdx } ;
104
104
105
105
pub ( crate ) use crate :: abi:: * ;
106
106
pub ( crate ) use crate :: base:: { codegen_operand, codegen_place} ;
0 commit comments