From 919c99835528f5d2e6f58d22430e2fefa3378bdc Mon Sep 17 00:00:00 2001 From: deadprogram Date: Tue, 30 Jun 2026 21:04:28 +0200 Subject: [PATCH] builder: update max supported Go version to 1.27 Signed-off-by: deadprogram --- builder/config.go | 2 +- builder/sizes_test.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/builder/config.go b/builder/config.go index afada914c..e773ecbf1 100644 --- a/builder/config.go +++ b/builder/config.go @@ -26,7 +26,7 @@ func NewConfig(options *compileopts.Options) (*compileopts.Config, error) { // Version range supported by TinyGo. 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. gorootMajor, gorootMinor, err := goenv.GetGorootVersion() diff --git a/builder/sizes_test.go b/builder/sizes_test.go index 342d14e1d..fb9193126 100644 --- a/builder/sizes_test.go +++ b/builder/sizes_test.go @@ -42,8 +42,8 @@ func TestBinarySize(t *testing.T) { // This is a small number of very diverse targets that we want to test. tests := []sizeTest{ // microcontrollers - {"hifive1b", "examples/echo", 3771, 309, 0, 2260}, - {"microbit", "examples/serial", 2832, 368, 8, 2256}, + {"hifive1b", "examples/echo", 3769, 307, 0, 2260}, + {"microbit", "examples/serial", 2828, 368, 8, 2256}, {"wioterminal", "examples/pininterrupt", 8065, 1663, 132, 7488}, // TODO: also check wasm. Right now this is difficult, because