You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Some users had been running into "cannot load cache entry" errors, which could happen if garble's cache files in GOCACHE were removed when Go's own cache files were not. Now that we've moved to our own separate cache directory, and that we've refactored the codebase to depend less on globals and no longer assume that we're loading info for the current package, we can now compute a pkgCache entry for a dependency if needed. We add a pkgCache.CopyFrom method to be able to append map entries from one pkgCache to another without needing an encoding/gob roundtrip. We also add a parseFiles helper, since we now have three bits of code which need to parse a list of Go files from disk. Fixes #708. |
3 years ago | |
|---|---|---|
| .. | ||
| bench | 4 years ago | |
| mod | 4 years ago | |
| script | 3 years ago | |