Skip to content

Commit c3938f1

Browse files
committed
Support Go 1.14.
1 parent fa86108 commit c3938f1

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.circleci/config.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,12 @@ jobs:
321321
- image: circleci/golang:1.13-buster
322322
steps:
323323
- test-linux
324+
test-llvm9-go114:
325+
docker:
326+
- image: circleci/golang:1.14-buster
327+
steps:
328+
- test-linux:
329+
distro: "buster"
324330
assert-test-linux:
325331
docker:
326332
- image: circleci/golang:1.13-stretch
@@ -346,6 +352,7 @@ workflows:
346352
- test-llvm9-go111
347353
- test-llvm9-go112
348354
- test-llvm9-go113
355+
- test-llvm9-go114
349356
- build-linux
350357
- build-macos
351358
- assert-test-linux

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 != 12 && minor != 13) {
29-
return nil, fmt.Errorf("requires go version 1.11, 1.12, or 1.13, got go%d.%d", major, minor)
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)
3030
}
3131
clangHeaderPath := getClangHeaderPath(goenv.Get("TINYGOROOT"))
3232
return &compileopts.Config{

0 commit comments

Comments
 (0)