Skip to content

Commit 5848644

Browse files
committed
Manually list proc macro exports
1 parent 2f948ea commit 5848644

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/librustc_codegen_ssa/back/linker.rs

-4
Original file line numberDiff line numberDiff line change
@@ -376,10 +376,6 @@ impl<'a> Linker for GccLinker<'a> {
376376
// The object files have far more public symbols than we actually want to export,
377377
// so we hide them all here.
378378

379-
if crate_type == CrateType::ProcMacro {
380-
return
381-
}
382-
383379
// Symbol visibility takes care of this for the WebAssembly.
384380
// Additionally the only known linker, LLD, doesn't support the script
385381
// arguments just yet

0 commit comments

Comments
 (0)