aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authordeadprogram <[email protected]>2020-08-15 19:00:17 +0200
committerRon Evans <[email protected]>2020-08-19 08:37:16 +0200
commita81face618ba4fdb80dc4d687902d9b437ffa1b6 (patch)
tree08ae204b940e6a9e0611d6229dce2df06cf8d5f1
parent0ac216b093853fa764b05421cdf087fca12bbc09 (diff)
downloadtinygo-a81face618ba4fdb80dc4d687902d9b437ffa1b6.tar.gz
tinygo-a81face618ba4fdb80dc4d687902d9b437ffa1b6.zip
builder: simplify Go version check message
Signed-off-by: deadprogram <[email protected]>
-rw-r--r--builder/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/builder/config.go b/builder/config.go
index a1adfa194..b3df6efb5 100644
--- a/builder/config.go
+++ b/builder/config.go
@@ -26,7 +26,7 @@ func NewConfig(options *compileopts.Options) (*compileopts.Config, error) {
return nil, fmt.Errorf("could not read version from GOROOT (%v): %v", goroot, err)
}
if major != 1 || minor < 11 || minor > 15 {
- return nil, fmt.Errorf("requires go version 1.11, 1.12, 1.13, 1.14, or 1.15, got go%d.%d", major, minor)
+ return nil, fmt.Errorf("requires go version 1.11 thru 1.15, got go%d.%d", major, minor)
}
clangHeaderPath := getClangHeaderPath(goenv.Get("TINYGOROOT"))
return &compileopts.Config{