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};
36
36
use rustc_middle:: ty:: TyCtxt ;
37
37
use rustc_session:: config:: DebugInfo ;
38
38
use rustc_span:: symbol:: Symbol ;
39
+ use log:: debug;
39
40
40
41
use std:: ffi:: CString ;
41
42
use std:: time:: Instant ;
@@ -75,6 +76,18 @@ pub fn write_compressed_metadata<'tcx>(
75
76
}
76
77
}
77
78
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
+
78
91
pub struct ValueIter < ' ll > {
79
92
cur : Option < & ' ll Value > ,
80
93
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(
1703
1703
NativeLibKind :: StaticNoBundle => cmd. link_staticlib ( name) ,
1704
1704
NativeLibKind :: StaticBundle => cmd. link_whole_staticlib ( name, & search_path) ,
1705
1705
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.
1708
1707
}
1709
1708
}
1710
1709
}
You can’t perform that action at this time.
0 commit comments