I’m having silly lengthy construct occasions in Home windows 11 not too long ago, and I believe it has to do with AV.
I’m on the lookout for an official listing of places that may be added to the exclusion listing or directions for how you can correctly exclude Go and related construct features.
Is there such a listing someplace?
Hello @sivan, I don’t learn about such a listing, however I’d reckon that it may be ample to exclude
%GOPATH% and the present mission listing from AV scanning.
%GOPATH% accommodates the cache for downloaded modules in addition to construct artifacts.)
These nonetheless didn’t work. Possibly there are different places, or perhaps it’s what Go does in reminiscence. The one workaround I’ve discovered is to disable the next within the Home windows Safety Heart:
Automated pattern submission
With these disabled, Go builds quick once more.