Skip to content

Commit

Permalink
translate: export hack for protobuf/proto
Browse files Browse the repository at this point in the history
  • Loading branch information
jellevandenhooff committed Nov 25, 2024
1 parent 32a743e commit 9437bff
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions internal/translate/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,9 @@ var keepAsmPackagesGo123 = map[string]bool{
}

var PublicExportHacks = map[string][]string{
"encoding/binary": {"littleEndian"},
"internal/poll": {"errNetClosing"},
"encoding/binary": {"littleEndian"},
"internal/poll": {"errNetClosing"},
"github.com/golang/protobuf/proto": {"enumsByName"},
}

// XXX: replace the package instead
Expand Down

0 comments on commit 9437bff

Please sign in to comment.