Skip to content

Commit 9e8cc00

Browse files
committed
Support Go 1.14.
1 parent fa86108 commit 9e8cc00

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.circleci/config.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,11 @@ 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
324329
assert-test-linux:
325330
docker:
326331
- image: circleci/golang:1.13-stretch
@@ -346,6 +351,7 @@ workflows:
346351
- test-llvm9-go111
347352
- test-llvm9-go112
348353
- test-llvm9-go113
354+
- test-llvm9-go114
349355
- build-linux
350356
- build-macos
351357
- 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)