diff options
author | Ayke van Laethem <[email protected]> | 2023-04-27 00:03:55 +0200 |
---|---|---|
committer | Ayke <[email protected]> | 2023-04-27 02:44:58 +0200 |
commit | 9bf5d6a4aa58e2e0aad56e90e7688d30da95e8dc (patch) | |
tree | 889891ffda0ab618c2a245ffedabf4aa926a10b3 /builder | |
parent | 839edec64c1968cd4a4ac45d9d9a3c3316aaed9c (diff) | |
download | tinygo-9bf5d6a4aa58e2e0aad56e90e7688d30da95e8dc.tar.gz tinygo-9bf5d6a4aa58e2e0aad56e90e7688d30da95e8dc.zip |
builder: add link to compatibility matrix
For context, see: https://github.com/tinygo-org/tinygo-site/pull/327
It only needs to be updated every half year, so it's not too bad, and it
could be very useful to some people.
Diffstat (limited to 'builder')
-rw-r--r-- | builder/config.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/builder/config.go b/builder/config.go index a7df83f18..f9fe715b7 100644 --- a/builder/config.go +++ b/builder/config.go @@ -34,6 +34,8 @@ 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 < 18 || minor > 20 { + // Note: when this gets updated, also update the Go compatibility matrix: + // https://github.com/tinygo-org/tinygo-site/blob/dev/content/docs/reference/go-compat-matrix.md return nil, fmt.Errorf("requires go version 1.18 through 1.20, got go%d.%d", major, minor) } |