Этот коммит содержится в:
Dan Kegel 2022-04-08 08:20:28 -07:00 коммит произвёл Ron Evans
родитель 9cedd78d9c
коммит 8dfb317d28

Просмотреть файл

@ -33,8 +33,8 @@ func NewConfig(options *compileopts.Options) (*compileopts.Config, error) {
if err != nil { if err != nil {
return nil, fmt.Errorf("could not read version from GOROOT (%v): %v", goroot, err) return nil, fmt.Errorf("could not read version from GOROOT (%v): %v", goroot, err)
} }
if major != 1 || minor < 15 || minor > 17 { if major != 1 || minor < 15 || minor > 18 {
return nil, fmt.Errorf("requires go version 1.15 through 1.17, got go%d.%d", major, minor) return nil, fmt.Errorf("requires go version 1.15 through 1.18, got go%d.%d", major, minor)
} }
clangHeaderPath := getClangHeaderPath(goenv.Get("TINYGOROOT")) clangHeaderPath := getClangHeaderPath(goenv.Get("TINYGOROOT"))