-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
crypto: use purego tag consistently #58636
Comments
The |
FYI, the I also had https://go-review.googlesource.com/c/go/+/468795, which implements a |
Change https://go.dev/cl/561935 mentions this issue: |
Change https://go.dev/cl/561955 mentions this issue: |
Updates golang/go#58636 Change-Id: I28cbe38d750ae10f3f78af909de33424ff2a6241 Reviewed-on: https://go-review.googlesource.com/c/wiki/+/561955 Auto-Submit: Filippo Valsorda <filippo@golang.org> Commit-Queue: Filippo Valsorda <filippo@golang.org> Reviewed-by: Filippo Valsorda <filippo@golang.org>
To be clear, In #23172 it seems that It's probably much too late to change, but Related: tinygo-org/tinygo#4116 |
Indeed, it might be a bit coarse, but I think |
Hmm, that's unfortunate. I imagine it could limit features/performance in some cases now that we use For CGo, I'd normally assume the |
We've been inconsistent in using the purego tag in the standard library because it was not clear what would be its use aside from letting me benchmark assembly vs native code. I noticed on the Gophers Slack that tagging purego consistently would probably make TinyGo's life easier when trying to compile crypto packages, and presumably any other Go compiler. https://tinygo.org/docs/reference/lang-support/stdlib/#crypto
It's easy enough to do, so why not. Might also add a purego compilation test of
crypto/...
to longtest./cc @dgryski
The text was updated successfully, but these errors were encountered: