From 5d77c5b247b6da7a1d49c23b03d5522e398c7d73 Mon Sep 17 00:00:00 2001 From: Lukasz Kasprzak Date: Tue, 15 Sep 2026 09:32:16 +0200 Subject: docs: make ci passes on OpenBSD and FreeBSD; OpenBSD's go needs GOTOOLCHAIN=auto --- docs/design.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/design.md b/docs/design.md index 3c48171..bf8eca0 100644 --- a/docs/design.md +++ b/docs/design.md @@ -818,7 +818,10 @@ Rules for the GUI to come: - Go 1.25 or newer (`golang.org/x/text` v0.39 fixed an infinite loop on invalid input, GO-2026-5970, and needs it). `go.mod` pins the toolchain, `go1.26.8`, so builds carry the standard library's security fixes: an - older `go` with `GOTOOLCHAIN=auto`, the default, downloads it itself. + older `go` with `GOTOOLCHAIN=auto`, Go's default, downloads it itself. + OpenBSD's `go` package sets `GOTOOLCHAIN=local` in its `go.env`, so there + build with `GOTOOLCHAIN=auto make`; FreeBSD's keeps `auto`. `make ci` + passes on OpenBSD 7.9 and FreeBSD 15.0 with that toolchain. `CGO_ENABLED=0`: static binaries on Linux and FreeBSD; on OpenBSD Go links against the system libc, as that platform requires. - Go dependencies: `golang.org/x/term` (key-at-a-time input) and -- cgit v1.3