Skip to content

Commit 29f599b

Browse files
committed
builder: allow Go 1.15 to pass config check
Signed-off-by: deadprogram <[email protected]>
1 parent 9f5bdef commit 29f599b

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
@@ -25,8 +25,8 @@ func NewConfig(options *compileopts.Options) (*compileopts.Config, error) {
2525
if err != nil {
2626
return nil, fmt.Errorf("could not read version from GOROOT (%v): %v", goroot, err)
2727
}
28-
if major != 1 || minor < 11 || minor > 14 {
29-
return nil, fmt.Errorf("requires go version 1.11, 1.12, 1.13, or 1.14, got go%d.%d", major, minor)
28+
if major != 1 || minor < 11 || minor > 15 {
29+
return nil, fmt.Errorf("requires go version 1.11, 1.12, 1.13, 1.14, or 1.15, got go%d.%d", major, minor)
3030
}
3131
clangHeaderPath := getClangHeaderPath(goenv.Get("TINYGOROOT"))
3232
return &compileopts.Config{

0 commit comments

Comments
 (0)