From 253dbe335a0be87801b58b9df290c2e4d44a36f8 Mon Sep 17 00:00:00 2001 From: deadprogram Date: Wed, 9 Aug 2023 12:01:19 +0200 Subject: [PATCH] builder: update message for max supported Go version Signed-off-by: deadprogram --- builder/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/config.go b/builder/config.go index 82e8cb94..d5c8166c 100644 --- a/builder/config.go +++ b/builder/config.go @@ -30,7 +30,7 @@ func NewConfig(options *compileopts.Options) (*compileopts.Config, error) { if major != 1 || minor < 18 || minor > 21 { // Note: when this gets updated, also update the Go compatibility matrix: // https://github.com/tinygo-org/tinygo-site/blob/dev/content/docs/reference/go-compat-matrix.md - return nil, fmt.Errorf("requires go version 1.18 through 1.20, got go%d.%d", major, minor) + return nil, fmt.Errorf("requires go version 1.18 through 1.21, got go%d.%d", major, minor) } clangHeaderPath := getClangHeaderPath(goenv.Get("TINYGOROOT"))