-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Open
Labels
FeatureRequestIssues asking for a new feature that does not need a proposal.Issues asking for a new feature that does not need a proposal.GoCommandcmd/gocmd/goNeedsDecisionFeedback is required from experts, contributors, and/or the community before a change can be made.Feedback is required from experts, contributors, and/or the community before a change can be made.fuzzIssues related to native fuzzing supportIssues related to native fuzzing support
Milestone
Description
Go provides GOCACHE and GOMODCACHE environment variables to control build and modules cache locations. There is no environment variable to control fuzz corpus cache location; it is hard-coded to be $GOCACHE/fuzz.
I think that fuzz cache is significantly different from the build (and test) cache:
- it is being cleaned by different
go cleanflags; - it has a different lifetime (cmd/go/internal/cache: in Cache.Trim, evict fuzz files #48526);
- it is a bit more valuable than a build cache (it takes more time to find interesting inputs than "just" compilation);
- etc.
For that reason, I think it would be helpful to provide GOFUZZCACHE environment variable to control fuzz cache location. That would help people building automation around sharing that cache between machines.
(I'm also not really sure that fuzz cache directory should be a subdirectory of the build cache by default, but that might be too late to change that.)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
FeatureRequestIssues asking for a new feature that does not need a proposal.Issues asking for a new feature that does not need a proposal.GoCommandcmd/gocmd/goNeedsDecisionFeedback is required from experts, contributors, and/or the community before a change can be made.Feedback is required from experts, contributors, and/or the community before a change can be made.fuzzIssues related to native fuzzing supportIssues related to native fuzzing support
Type
Projects
Status
No status
Status
No status