File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed
librustc_codegen_ssa/back Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ use rustc_middle::mir::mono::{Linkage, Visibility};
3636use rustc_middle:: ty:: TyCtxt ;
3737use rustc_session:: config:: DebugInfo ;
3838use rustc_span:: symbol:: Symbol ;
39+ use log:: debug;
3940
4041use std:: ffi:: CString ;
4142use std:: time:: Instant ;
@@ -75,6 +76,18 @@ pub fn write_compressed_metadata<'tcx>(
7576 }
7677}
7778
79+ pub fn write_idata_sections < ' tcx > (
80+ _tcx : TyCtxt < ' tcx > ,
81+ raw_dylibs : & [ RawDylibImports ] ,
82+ _llvm_module : & mut ModuleLlvm ,
83+ ) {
84+ for raw_dylib in raw_dylibs {
85+ debug ! ( "linking raw dylib - {:?}" , raw_dylib) ;
86+ //TODO: emit.
87+ }
88+
89+ }
90+
7891pub struct ValueIter < ' ll > {
7992 cur : Option < & ' ll Value > ,
8093 step : unsafe extern "C" fn ( & ' ll Value ) -> Option < & ' ll Value > ,
Original file line number Diff line number Diff line change @@ -1703,8 +1703,7 @@ fn add_local_native_libraries(
17031703 NativeLibKind :: StaticNoBundle => cmd. link_staticlib ( name) ,
17041704 NativeLibKind :: StaticBundle => cmd. link_whole_staticlib ( name, & search_path) ,
17051705 NativeLibKind :: RawDylib => {
1706- // FIXME(#58713): Proper handling for raw dylibs.
1707- bug ! ( "raw_dylib feature not yet implemented" ) ;
1706+ // we shouldn't need to do anything here, code has been generated.
17081707 }
17091708 }
17101709 }
You can’t perform that action at this time.
0 commit comments