-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/apidiff: stop using gcexportdata.{Read,Write}Bundle
This CL changes apidiff to stop using the bundle read/write operations, which were always experimental and are in the process of being deprecated/dropped (#69573). Instead, we use the ordinary gcexportdata.Write operation to save each package into a section of a zip file named after the package, in topological order. (This could perhaps be simplified further by simply retaining the export data files originally produced by the compiler without even parsing them; see go/packages.NeedExportFile.) Also: - plumb token.FileSet down from main, addressing a TODO. - remove unnecessary packages.LoadMode bits. Updates golang/go#69573 Change-Id: I6347097b480853d7bf21047595282f2123ee50b1 Reviewed-on: https://go-review.googlesource.com/c/exp/+/634600 LUCI-TryBot-Result: Go LUCI <[email protected]> Auto-Submit: Alan Donovan <[email protected]> Reviewed-by: Jonathan Amsterdam <[email protected]>
- Loading branch information
Showing
1 changed file
with
124 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters