Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/cue: speed up get_go_json_compat.txtar
We only need to `cue get go` the decls package, and not the marshal and unmarshal packages which we only use for `go run`. This results in less work to load Go packages in `cue get go`, speeding up the test on my laptop from 0.50s to 0.42s. Signed-off-by: Daniel Martí <mvdan@mvdan.cc> Change-Id: I207aea043edf8070a4a9e29308103d6a46654a09 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1198963 Reviewed-by: Roger Peppe <rogpeppe@gmail.com> TryBot-Result: CUEcueckoo <cueckoo@cuelang.org> Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>
- Loading branch information