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
go-fuzz-build: cannot find package "go-fuzz-dep" when using golang.org/dl/go1.16.3 #320
Comments
I don’t understand. I’ve been using go-fuzz successfully with many Go versions including 1.16. Can you provide steps that I can use to reproduce the issue? Thanks. |
go-fuzz-build/main.go:
Has Set But I install my go this way:
the
go-fuzz-build's If i use go which install by tar file (go1.16.4.darwin-amd64.tar.gz), |
I see. That’s unfortunate. How does the PR you sent improve matters? |
Is there any workaround for this issue? |
Hi @hidu and @howardjohn It sounds like the desire was to use something like the How are you doing that today? I think it might work better to set your PATH variable to the For example, if you are using
then I am suggesting trying:
which then seems to work with go-fuzz, at least in a basic check starting from an empty directory:
Does that work for you? If on Windows, I think it is similar, but probably two steps with a copy/paste:
Finally, sorry if this is not helpful, but if not, perhaps you can comment a bit more about the exact mechanism you are using today for using something like |
@thepudds yes it's work when i exec |
go version 1.13 -1.16
reason:
go-fuzz-build/main.go
but
go
use Default GOROOT. See the issue comment belowThe text was updated successfully, but these errors were encountered: