Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

go-fuzz-build: Build only when out of date #118

Closed
tv42 opened this issue Jan 22, 2016 · 3 comments
Closed

go-fuzz-build: Build only when out of date #118

tv42 opened this issue Jan 22, 2016 · 3 comments

Comments

@tv42
Copy link
Contributor

tv42 commented Jan 22, 2016

Creating the *-fuzz.zip takes a lot of time even on a simple project. Yet simple checks like "only create if it doesn't exist" easily leave us fuzzing already-fixed code. It'd be really nice if it behaved like go install and friends and only recreated the zip if the inputs have updated. I'm sure implementing this once in go-fuzz is better than every caller implementing a bad version of it in a shell script, which is what I almost just did...

@dvyukov
Copy link
Owner

dvyukov commented Jan 22, 2016

I agree that it would be nice. Pull request is welcome.

I think eventually go-fuzz instrumentation should be merged into Go compiler, and go-fuzz-build logic should be merged into go tool. That would solve lots of issues including this one.

@dgryski
Copy link
Contributor

dgryski commented Dec 26, 2017

WIll be obsoleted by #154

@josharian
Copy link
Collaborator

I've made considerable progress on build times. When cmd/go's -trimpath plays nicely with the cache (golang/go#31896), it'll get even better. I'm going to call this fixed for now.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

4 participants