diff options
author | Ayke van Laethem <[email protected]> | 2022-06-11 22:33:33 +0200 |
---|---|---|
committer | Ron Evans <[email protected]> | 2022-06-16 12:34:56 +0200 |
commit | 4c647847247316bae553f9b9a8c7da4034edd199 (patch) | |
tree | 4b42aa75b4d6bf5c4a56ba6b4ecf99e7b97a022c /builder | |
parent | 8d6b210c09e53f05c315556fc97a069e304b37dc (diff) | |
download | tinygo-4c647847247316bae553f9b9a8c7da4034edd199.tar.gz tinygo-4c647847247316bae553f9b9a8c7da4034edd199.zip |
all: Go 1.19 support
This adds early Go 1.19 support. There are a number of things that don't
work yet, but the smoke tests pass so it's at least working for a
significant subset of programs.
This change also switches from CircleCI convenience images to upstream
Go images. This makes it a bit easier to use the latest Go versions.
Also, the convenience images are not updated anymore.
Diffstat (limited to 'builder')
-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 3f06c9688..8ff6dafc6 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 > 18 { - return nil, fmt.Errorf("requires go version 1.16 through 1.18, got go%d.%d", major, minor) + 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) } clangHeaderPath := getClangHeaderPath(goenv.Get("TINYGOROOT")) |