This change breaks the merged goroot creation process into 2 steps: 1. List all overrides 2. Construct a goroot with the specified overrides Now step 2 is cached using a hash of the results from step 1. This eliminates cache inconsistency, but means that step 1 needs to be run on every build. This is relatively acceptable, as step 1 only takes about 3 ms (assuming the directory tree is in the OS filesystem cache). |
||
|---|---|---|
| .. | ||
| errors.go | ||
| goroot.go | ||
| list.go | ||
| loader.go | ||
| ssa.go | ||