Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
go-fuzz-build: load reflect when using libfuzzer
libfuzzer's generated main function uses package reflect. When attempting to build a package that doesn't depend on reflect, such as github.com/dvyukuv/go-fuzz-corpus/{bzip2,gif,url}, package reflect wasn't getting copied to GOROOT, and the build failed. Fix that. We may need something similar in the future for fuzz.F; see #223. Updates google/oss-fuzz/#2188
- Loading branch information