Skip to content

Commit fc6f79e

Browse files
committed
fixup!
1 parent c4f9fff commit fc6f79e

File tree

1 file changed

+0
-3
lines changed
  • compiler/rustc_codegen_cranelift/src/driver

1 file changed

+0
-3
lines changed

compiler/rustc_codegen_cranelift/src/driver/jit.rs

-3
Original file line numberDiff line numberDiff line change
@@ -293,9 +293,6 @@ fn dep_symbol_lookup_fn(
293293
// itself. This helps the dynamic linker to find dylibs not in the regular dynamic library
294294
// search path.
295295
for &cnum in crate_info.used_crates.iter().rev() {
296-
if cnum == LOCAL_CRATE {
297-
continue; // We already have all code for the local crate
298-
}
299296
let src = &crate_info.used_crate_source[&cnum];
300297
match data[cnum] {
301298
Linkage::NotLinked | Linkage::IncludedFromDylib => {}

0 commit comments

Comments
 (0)