From d7eac17f46e9365af26972274d854d6ec092e398 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Thu, 14 Dec 2023 12:05:03 -0800 Subject: [PATCH] Raise go.mod version of build/make/tools/rbcrun Raising the go.mod version to 1.17 or higher enables module graph pruning (https://go.dev/ref/mod#graph-pruning), which prevents the go tools like "go build ./..." from loading unused transitive dependencies, including ones that are missing from our tree. Bug: 314133304 Test: prebuilts/build-tools/build-prebuilts.sh Change-Id: If1cc0fda1dc744e65fc3367b7f44b8c91230e5ce --- tools/rbcrun/go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/rbcrun/go.mod b/tools/rbcrun/go.mod index 5ae29725c2..6e99ce975c 100644 --- a/tools/rbcrun/go.mod +++ b/tools/rbcrun/go.mod @@ -4,4 +4,4 @@ require go.starlark.net v0.0.0-20201006213952-227f4aabceb5 replace go.starlark.net => ../../../../external/starlark-go -go 1.15 +go 1.21