-
Notifications
You must be signed in to change notification settings - Fork 18k
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
internal/fuzz: add missing supported GOOS to internal/fuzz/sys_posix.go [freeze exception] #46554
Comments
I don't think it was tested across all the other OSes (yet), so "supported" might be too strong a word just yet. Good to know that it works, though. |
/cc @golang/fuzzing |
This commit adds the freebsd GOOS to the list of build tags for the posix calls related to fuzzing. Fixes golang#46554 Change-Id: I70b7ba89d352fafa6f79d982916f5d70358795b9 [dev.fuzz] x Change-Id: I8cde707d65a22e9f06c7c98743578f626fe60b86
Change https://golang.org/cl/325209 mentions this issue: |
CC @golang/release |
Add "freebsd" to GOOS that sys.FuzzSupported() returns true for. Fixes: golang#46554
Add "freebsd" to GOOS for which sys.FuzzSupported() returns true and add freebsd to the build tags to fuzz test source. Fixes: golang#46554
Change https://golang.org/cl/377855 mentions this issue: |
(This is a release-blocker in the sense that it needs a decision on the freeze exception. If the freeze exception is not granted, we can move it to the Go1.19 milestone.) |
Approved -- this is a small change to a new feature with low risk. |
Add "freebsd" to GOOS for which sys.FuzzSupported() returns true and add freebsd to the build tags to fuzz test source. Fixes golang#46554 Change-Id: I5f695ecc8f09c0ab4279ced23b4715b788fcade0 Reviewed-on: https://go-review.googlesource.com/c/go/+/377855 Trust: Bryan Mills <bcmills@google.com> Trust: Katie Hockman <katie@golang.org> Run-TryBot: Katie Hockman <katie@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Katie Hockman <katie@golang.org>
Currently
src/internal/fuzz/sys_posix.go
only has build constraints for darwin linux.When I add the missing
freebsd
constraint it works perfectly fine for me on freebsd/amd64 (FreeBSD 11.4).I imagine it also works on the other BSDs as well, they are all reasonably POSIX compliant.
In future, in announcements such as the one on the Go Blog, please include a sentence somewhere if the list of GOOS/GOARCH supported is limited! Believe it or not, there is a thriving world outside of Mac and Linux. It's a pain in the butt to go through the effort of downloading the dev.fuzz branch on a slow link to get nothing but an uninformative
panic: not implemented
and a stack trace!The text was updated successfully, but these errors were encountered: