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
This commit is contained in:
Colin Cross 2023-11-30 14:32:49 -08:00
parent 15675d5936
commit fc19bfa650
2 changed files with 2 additions and 2 deletions

2
go.mod
View file

@ -1,6 +1,6 @@
module android/soong
go 1.20
go 1.21
require (
github.com/google/blueprint v0.0.0

View file

@ -1,4 +1,4 @@
go 1.19
go 1.21
use (
.