cmd/link: using -fuzz with test that links with cgo on darwin causes linker failure #65169
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Go version
go1.21.6, go1.22rc1
Output of
go env
in your module/workspace:What did you do?
Run the following package with
go test . -fuzz=Fuzz
on Mac OS X and it prints a linker failure with both go1.21.6 and go1.22rc1. Usinggo run
orgo test
without fuzzing works fine.cgofuzz.go
cgofuzz_test.go
What did you see happen?
What did you expect to see?
I expected the test to run in fuzzing mode.
The text was updated successfully, but these errors were encountered: