aboutsummaryrefslogtreecommitdiffhomepage
path: root/builder/config.go
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2021-08-15 15:22:18 +0200
committerRon Evans <[email protected]>2021-08-16 21:19:26 +0200
commit25c7bfd404448a159a52f41930ac210bca6f1b53 (patch)
tree824566580cec6327d35c03a7f652e53b3401820e /builder/config.go
parent04f520040e6d60ace0728d0016cbe1e75bc44f71 (diff)
downloadtinygo-25c7bfd404448a159a52f41930ac210bca6f1b53.tar.gz
tinygo-25c7bfd404448a159a52f41930ac210bca6f1b53.zip
ci: drop support for Go 1.13 and 1.14
They aren't supported anymore in CI, and because untested code is broken code, let's remove support for these Go versions altogether.
Diffstat (limited to 'builder/config.go')
-rw-r--r--builder/config.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/builder/config.go b/builder/config.go
index c94571fe4..cdd9c0dad 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 < 13 || minor > 16 {
- return nil, fmt.Errorf("requires go version 1.13 through 1.16, got go%d.%d", major, minor)
+ if major != 1 || minor < 15 || minor > 16 {
+ return nil, fmt.Errorf("requires go version 1.15 through 1.16, got go%d.%d", major, minor)
}
clangHeaderPath := getClangHeaderPath(goenv.Get("TINYGOROOT"))