commit | fc19bfa65033e9d1ea33d9a27aa26ebd73ddc941 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Thu Nov 30 14:32:49 2023 -0800 |
committer | Colin Cross <ccross@android.com> | Fri Dec 01 04:12:03 2023 +0000 |
tree | 4d4c946d16b3d7b8609ff776c910af8d4acd1233 | |
parent | 15675d59360c5fa417e9b1b0f77a964b511e9c7c [diff] [blame] |
Update go.mod and go.work to 1.21 Code in build/soong is using new builtins like max, update go.work and go.mod to require 1.21 so that go test ./... works. Fixes: ui/status/ninja.go:193:25: max requires go1.21 or later (-lang was set to go1.20; check go.mod) Test: go test ./... Change-Id: I38f1a2298937db0d7c741b2183540fa3d02dac79
diff --git a/go.work b/go.work index 67f6549..7c6022b 100644 --- a/go.work +++ b/go.work
@@ -1,4 +1,4 @@ -go 1.19 +go 1.21 use ( .