mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-21 04:49:04 +00:00
builder: update max supported Go version to 1.27
Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
+1
-1
@@ -26,7 +26,7 @@ func NewConfig(options *compileopts.Options) (*compileopts.Config, error) {
|
|||||||
|
|
||||||
// Version range supported by TinyGo.
|
// Version range supported by TinyGo.
|
||||||
const minorMin = 24 // when updating the min version, also update .github/workflows/compat.yml
|
const minorMin = 24 // when updating the min version, also update .github/workflows/compat.yml
|
||||||
const minorMax = 26
|
const minorMax = 27
|
||||||
|
|
||||||
// Check that we support this Go toolchain version.
|
// Check that we support this Go toolchain version.
|
||||||
gorootMajor, gorootMinor, err := goenv.GetGorootVersion()
|
gorootMajor, gorootMinor, err := goenv.GetGorootVersion()
|
||||||
|
|||||||
@@ -42,8 +42,8 @@ func TestBinarySize(t *testing.T) {
|
|||||||
// This is a small number of very diverse targets that we want to test.
|
// This is a small number of very diverse targets that we want to test.
|
||||||
tests := []sizeTest{
|
tests := []sizeTest{
|
||||||
// microcontrollers
|
// microcontrollers
|
||||||
{"hifive1b", "examples/echo", 3771, 309, 0, 2260},
|
{"hifive1b", "examples/echo", 3769, 307, 0, 2260},
|
||||||
{"microbit", "examples/serial", 2832, 368, 8, 2256},
|
{"microbit", "examples/serial", 2828, 368, 8, 2256},
|
||||||
{"wioterminal", "examples/pininterrupt", 8065, 1663, 132, 7488},
|
{"wioterminal", "examples/pininterrupt", 8065, 1663, 132, 7488},
|
||||||
|
|
||||||
// TODO: also check wasm. Right now this is difficult, because
|
// TODO: also check wasm. Right now this is difficult, because
|
||||||
|
|||||||
Reference in New Issue
Block a user