Skip to content

Commit b28601c

Browse files
committed
Allow Go 1.18
1 parent 6030a5d commit b28601c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

builder/config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ func NewConfig(options *compileopts.Options) (*compileopts.Config, error) {
3333
if err != nil {
3434
return nil, fmt.Errorf("could not read version from GOROOT (%v): %v", goroot, err)
3535
}
36-
if major != 1 || minor < 15 || minor > 17 {
37-
return nil, fmt.Errorf("requires go version 1.15 through 1.17, got go%d.%d", major, minor)
36+
if major != 1 || minor < 15 || minor > 18 {
37+
return nil, fmt.Errorf("requires go version 1.15 through 1.18, got go%d.%d", major, minor)
3838
}
3939

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

0 commit comments

Comments
 (0)