guide: keep serving when stdout is closed #43

Merged
jcoffey-dev merged 1 commits from fix/guide-stdout into main 2026-10-30 21:01:00 +00:00
1 Commits
Author SHA1 Message Date
jcoffey-dev 7b80a8380e guide: keep serving when stdout is closed
ci / test (pull_request) Skipped
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 3m11s
ci / announce (pull_request) Skipped
println! panics on a closed stdout, so a guide whose output went to a
reader that had stopped (the test helper, or a pipe into head) died after
printing its address. It now ignores write errors on stdout, and the
test helper keeps its end open. A new test starts the guide with stdout
already closed; it failed before this change.

This failed the v27.1-rc.5 tag build.
2026-10-30 13:57:13 -07:00