You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry, just to clarify: This is not a request to support fuzzing in rules_go. I'm aware that this is not the place to request that.
This is a request to add testing.InternalFuzzTarget to the allowlist in go/analysis/passes/composite, without which tests that use fuzzing do not pass the lint check—at least in Bazel (I was not able to get the same error with vanilla go test -vet=composites). I've verified that adding InternalFuzzTarget to the list resolves this issue in Bazel.
The text was updated successfully, but these errors were encountered:
gopherbot
added
the
Tools
This label describes issues relating to any tools in the x/tools repository.
label
Mar 11, 2022
@abhinav even if we merge now it seems unlikely that this will be fixed for 1.18, due to the imminence of the release. Can you explain further if/how this impacts your workflow?
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
With the latest RC, yes. Not with the latest stable.
What operating system and processor architecture are you using (
go env
)?Linux, amd64, inside Bazel with rules_go v0.30.0.
go env
OutputWhat did you do?
I wrote a minimal fuzz test using the example from the official docs and ran
bazel build
.FuzzHex
I then ran
bazel build
on the target:What did you expect to see?
A successful build.
What did you see instead?
The following error:
Notes
Sorry, just to clarify: This is not a request to support fuzzing in rules_go. I'm aware that this is not the place to request that.
This is a request to add
testing.InternalFuzzTarget
to the allowlist in go/analysis/passes/composite, without which tests that use fuzzing do not pass the lint check—at least in Bazel (I was not able to get the same error with vanillago test -vet=composites
). I've verified that adding InternalFuzzTarget to the list resolves this issue in Bazel.The text was updated successfully, but these errors were encountered: