-
Notifications
You must be signed in to change notification settings - Fork 17.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x/crypto/curve25519,crypto/ed25519: avo doesn't generate go:build lines #46155
Comments
Change https://golang.org/cl/319471 mentions this issue: |
The generator submodule needs a module dependency on golang.org/x/crypto to find the type information it needs. This removes the Comment call from CL 319469 because it does not seem to generate the intended output. See golang/go#46155. Fixes golang/go#46133 Change-Id: Iec21c6379d81271047ebf370a76329ed3fdac85c Reviewed-on: https://go-review.googlesource.com/c/crypto/+/319471 Trust: Filippo Valsorda <filippo@golang.org> Run-TryBot: Filippo Valsorda <filippo@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
CL 338629 updates this issue. CC @mmcloughlin, @josharian, @ianlancetaylor. @mmcloughlin If updating the generator is a change that needs more time, should we fix it inside the Go tree by adding a temporary "//go:generate gofmt" step to run on the avo-generated files? After the generator is updated to emit gofmt'ed Go code, the extra gofmt invocation can go away. (If updating the generator is equally fast and easy, then of course there's no need for this intermediate step.) |
According to mmcloughlin/avo#183, this is done for our purposes. Thanks @mmcloughlin . |
Change https://go.dev/cl/388874 mentions this issue: |
This version generates //go:build lines. For golang/go#46155 Change-Id: I23e4617aa96bc5c15c10f3cd0882028ca08e09e8 Reviewed-on: https://go-review.googlesource.com/c/crypto/+/388874 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
This version generates //go:build lines. For golang/go#46155 Change-Id: I23e4617aa96bc5c15c10f3cd0882028ca08e09e8 Reviewed-on: https://go-review.googlesource.com/c/crypto/+/388874 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
This version generates //go:build lines. For golang/go#46155 Change-Id: I23e4617aa96bc5c15c10f3cd0882028ca08e09e8 Reviewed-on: https://go-review.googlesource.com/c/crypto/+/388874 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
The generator submodule needs a module dependency on golang.org/x/crypto to find the type information it needs. This removes the Comment call from CL 319469 because it does not seem to generate the intended output. See golang/go#46155. Fixes golang/go#46133 Change-Id: Iec21c6379d81271047ebf370a76329ed3fdac85c Reviewed-on: https://go-review.googlesource.com/c/crypto/+/319471 Trust: Filippo Valsorda <filippo@golang.org> Run-TryBot: Filippo Valsorda <filippo@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
This version generates //go:build lines. For golang/go#46155 Change-Id: I23e4617aa96bc5c15c10f3cd0882028ca08e09e8 Reviewed-on: https://go-review.googlesource.com/c/crypto/+/388874 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Due to mmcloughlin/avo#183, the autogenerated assembly is lacking
//go:build
lines.See #41184.
/cc @tklauser
The text was updated successfully, but these errors were encountered: