Skip to content

Commit

Permalink
Manually list proc macro exports
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoxc committed Apr 8, 2019
1 parent 2f948ea commit 5848644
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/librustc_codegen_ssa/back/linker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -376,10 +376,6 @@ impl<'a> Linker for GccLinker<'a> {
// The object files have far more public symbols than we actually want to export,
// so we hide them all here.

if crate_type == CrateType::ProcMacro {
return
}

// Symbol visibility takes care of this for the WebAssembly.
// Additionally the only known linker, LLD, doesn't support the script
// arguments just yet
Expand Down

0 comments on commit 5848644

Please sign in to comment.