From b9d02b1a304d5a80464a272802ddb6370685b5bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Eriksson?= Date: Fri, 11 Aug 2023 10:17:08 +0200 Subject: [PATCH] builder: enable cacheprog experiment --- builder/encore-build.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/builder/encore-build.go b/builder/encore-build.go index 4b2cc6986c..121221350e 100644 --- a/builder/encore-build.go +++ b/builder/encore-build.go @@ -40,7 +40,9 @@ func (b *Builder) Build() error { cmd.Env = append(os.Environ(), "GOROOT_FINAL=/encore", "GOARCH="+b.GOARCH, - "GOOS="+b.GOOS) + "GOOS="+b.GOOS, + "GOEXPERIMENT=cacheprog", + ) return cmd.Run() }