aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authordeadprogram <[email protected]>2023-08-09 12:01:19 +0200
committerAyke <[email protected]>2023-08-09 19:27:15 +0200
commit253dbe335a0be87801b58b9df290c2e4d44a36f8 (patch)
tree07b7e2239e79ce3e8fa491d798c3667949426d66
parent0ef86e1534d15f2b291dc2512c9c877138c0887f (diff)
downloadtinygo-253dbe335a0be87801b58b9df290c2e4d44a36f8.tar.gz
tinygo-253dbe335a0be87801b58b9df290c2e4d44a36f8.zip
builder: update message for max supported Go version
Signed-off-by: deadprogram <[email protected]>
-rw-r--r--builder/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/builder/config.go b/builder/config.go
index 82e8cb94e..d5c8166c9 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"))