@@ -48,7 +48,6 @@ extern crate rustc_index;
48
48
#[ cfg( feature = "master" ) ]
49
49
extern crate rustc_interface;
50
50
extern crate rustc_macros;
51
- extern crate rustc_metadata;
52
51
extern crate rustc_middle;
53
52
extern crate rustc_session;
54
53
extern crate rustc_span;
@@ -106,7 +105,6 @@ use rustc_codegen_ssa::{CodegenResults, CompiledModule, ModuleCodegen, TargetCon
106
105
use rustc_data_structures:: fx:: FxIndexMap ;
107
106
use rustc_data_structures:: sync:: IntoDynSyncSend ;
108
107
use rustc_errors:: DiagCtxtHandle ;
109
- use rustc_metadata:: EncodedMetadata ;
110
108
use rustc_middle:: dep_graph:: { WorkProduct , WorkProductId } ;
111
109
use rustc_middle:: ty:: TyCtxt ;
112
110
use rustc_middle:: util:: Providers ;
@@ -230,9 +228,9 @@ impl CodegenBackend for GccCodegenBackend {
230
228
providers. global_backend_features = |tcx, ( ) | gcc_util:: global_gcc_features ( tcx. sess , true )
231
229
}
232
230
233
- fn codegen_crate ( & self , tcx : TyCtxt < ' _ > , metadata : Option < & EncodedMetadata > ) -> Box < dyn Any > {
231
+ fn codegen_crate ( & self , tcx : TyCtxt < ' _ > ) -> Box < dyn Any > {
234
232
let target_cpu = target_cpu ( tcx. sess ) ;
235
- let res = codegen_crate ( self . clone ( ) , tcx, target_cpu. to_string ( ) , metadata ) ;
233
+ let res = codegen_crate ( self . clone ( ) , tcx, target_cpu. to_string ( ) ) ;
236
234
237
235
Box :: new ( res)
238
236
}
0 commit comments