Skip to content

Commit 253dbe3

Browse files
deadprogramaykevl
authored andcommitted
builder: update message for max supported Go version
Signed-off-by: deadprogram <[email protected]>
1 parent 0ef86e1 commit 253dbe3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builder/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func NewConfig(options *compileopts.Options) (*compileopts.Config, error) {
3030
if major != 1 || minor < 18 || minor > 21 {
3131
// Note: when this gets updated, also update the Go compatibility matrix:
3232
// https://github.com/tinygo-org/tinygo-site/blob/dev/content/docs/reference/go-compat-matrix.md
33-
return nil, fmt.Errorf("requires go version 1.18 through 1.20, got go%d.%d", major, minor)
33+
return nil, fmt.Errorf("requires go version 1.18 through 1.21, got go%d.%d", major, minor)
3434
}
3535

3636
clangHeaderPath := getClangHeaderPath(goenv.Get("TINYGOROOT"))

0 commit comments

Comments
 (0)