File tree 1 file changed +4
-6
lines changed
1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -229,14 +229,12 @@ impl<'a> CrateLoader<'a> {
229
229
let dependencies: Vec < CrateNum > = cnum_map. iter ( ) . cloned ( ) . collect ( ) ;
230
230
231
231
let raw_proc_macros = crate_root. proc_macro_data . map ( |_| {
232
- let temp_root;
233
- let ( dlsym_dylib, dlsym_root) = match & host_lib {
234
- Some ( host_lib) =>
235
- ( & host_lib. dylib , { temp_root = host_lib. metadata . get_root ( ) ; & temp_root } ) ,
236
- None => ( & dylib, & crate_root) ,
232
+ let dlsym_dylib = match & host_lib {
233
+ Some ( host_lib) => & host_lib. dylib ,
234
+ None => & dylib,
237
235
} ;
238
236
let dlsym_dylib = dlsym_dylib. as_ref ( ) . expect ( "no dylib for a proc-macro crate" ) ;
239
- self . dlsym_proc_macros ( & dlsym_dylib. 0 , dlsym_root . disambiguator , span)
237
+ self . dlsym_proc_macros ( & dlsym_dylib. 0 , crate_root . disambiguator , span)
240
238
} ) ;
241
239
242
240
let interpret_alloc_index: Vec < u32 > = crate_root. interpret_alloc_index
You can’t perform that action at this time.
0 commit comments