aboutsummaryrefslogtreecommitdiffhomepage
path: root/builder
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2022-06-11 17:24:54 +0200
committerRon Evans <[email protected]>2022-08-30 12:38:06 +0200
commit4695da83b71c291bc89a14dc41c9b9a91a3c6210 (patch)
tree3b4ed26f336833d4e80f1963e598714c66575bd7 /builder
parentf094e895c55204730b0230b3b2f6fc3bb32f325a (diff)
downloadtinygo-4695da83b71c291bc89a14dc41c9b9a91a3c6210.tar.gz
tinygo-4695da83b71c291bc89a14dc41c9b9a91a3c6210.zip
all: drop support for Go 1.16 and Go 1.17
Diffstat (limited to 'builder')
-rw-r--r--builder/config.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/builder/config.go b/builder/config.go
index 8ff6dafc6..c55ce1a21 100644
--- a/builder/config.go
+++ b/builder/config.go
@@ -33,8 +33,8 @@ func NewConfig(options *compileopts.Options) (*compileopts.Config, error) {
if err != nil {
return nil, fmt.Errorf("could not read version from GOROOT (%v): %v", goroot, err)
}
- if major != 1 || minor < 16 || minor > 19 {
- return nil, fmt.Errorf("requires go version 1.16 through 1.19, got go%d.%d", major, minor)
+ if major != 1 || minor < 18 || minor > 19 {
+ return nil, fmt.Errorf("requires go version 1.18 through 1.19, got go%d.%d", major, minor)
}
clangHeaderPath := getClangHeaderPath(goenv.Get("TINYGOROOT"))