[regen] Set --available to HEAD when invoking fidlc

This argument used to default to fuchsia:HEAD, but was made mandatory
in Ib2d2552527b5080311faaddc93bfd0bbf292d643.

Changes in output exacerbated an issue in the API checks, which didn't
properly output type aliases. The change in src/cmd/api/main_test.go
fixes this.

Regenerate FIDL, syscalls, and API:

fx exec ./regen-fidl && fx exec ./regen-syscalls && fx exec ./regen-api

Fixed: b/316425928
Change-Id: I2eb0c785d9e1a65de34694761827d1fe74360dda
Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/go/+/967852
Reviewed-by: Peter Johnston <peterjohnston@google.com>
Commit-Queue: Devon H. O'Dell <dhobsd@google.com>
22 files changed
tree: 174f50db15eb930fd73837593970094c2ffe4ea3
  1. .github/
  2. api/
  3. doc/
  4. lib/
  5. makefuchsia/
  6. makeroot/
  7. meta/
  8. misc/
  9. src/
  10. test/
  11. .gitattributes
  12. .gitignore
  13. BUILD.gn
  14. codereview.cfg
  16. go.env
  18. OWNERS
  20. README.md
  21. regen-api
  22. regen-api.py
  23. regen-fidl
  24. regen-syscalls
  25. SECURITY.md
  26. UPGRADE.md

The Go Programming Language

Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.

Gopher image Gopher image by Renee French, licensed under Creative Commons 4.0 Attributions license.

Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.

Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.

Download and Install

Binary Distributions

Official binary distributions are available at https://go.dev/dl/.

After downloading a binary release, visit https://go.dev/doc/install for installation instructions.

Install From Source

If a binary distribution is not available for your combination of operating system and architecture, visit https://go.dev/doc/install/source for source installation instructions.


Go is the work of thousands of contributors. We appreciate your help!

To contribute, please read the contribution guidelines at https://go.dev/doc/contribute.

Note that the Go project uses the issue tracker for bug reports and proposals only. See https://go.dev/wiki/Questions for a list of places to ask questions about the Go language.