diff options
author | Ayke van Laethem <[email protected]> | 2021-03-04 21:32:36 +0100 |
---|---|---|
committer | Ron Evans <[email protected]> | 2021-03-09 18:15:49 +0100 |
commit | b0366743cd1080e107e0560eed790ccaa0537158 (patch) | |
tree | 648ec2b0006658d3ac597548b1a23fb71ec90818 /builder/config.go | |
parent | c54bdf8b515f9c2a50a91c555b1040b502e989d1 (diff) | |
download | tinygo-b0366743cd1080e107e0560eed790ccaa0537158.tar.gz tinygo-b0366743cd1080e107e0560eed790ccaa0537158.zip |
all: remove support for Go 1.11 and 1.12
Go 1.13 has some important improvements that we would like to use, such
as the new integer literals and `errors.Is` which both arrived in Go
1.13.
Diffstat (limited to 'builder/config.go')
-rw-r--r-- | builder/config.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builder/config.go b/builder/config.go index b145ec5e3..bfa56361f 100644 --- a/builder/config.go +++ b/builder/config.go @@ -25,8 +25,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 < 11 || minor > 16 { - return nil, fmt.Errorf("requires go version 1.11 through 1.16, got go%d.%d", major, minor) + 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) } clangHeaderPath := getClangHeaderPath(goenv.Get("TINYGOROOT")) return &compileopts.Config{ |