Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/cue: use fewer go/packages Need bits in
get go
NeedFiles and NeedTypesSizes are unnecessary. Most of the current slowness is due to NeedSyntax and NeedTypes being combined with NeedDeps, meaning that we must parse and typecheck all transitive dependencies - but `get go` needs this as it recurses into all dependencies by design. Signed-off-by: Daniel Martí <[email protected]> Change-Id: I5e6f4d7d9771c75f2f1317874c91b8072376abb9 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1198962 Unity-Result: CUE porcuepine <[email protected]> Reviewed-by: Roger Peppe <[email protected]> TryBot-Result: CUEcueckoo <[email protected]>
- Loading branch information