internal/pkg: increase output buffer size
All checks were successful
Test / Create distribution (push) Successful in 1m56s
Test / Sandbox (push) Successful in 1m46s
Test / Sandbox (race detector) (push) Successful in 2m36s
Test / ShareFS (push) Successful in 2m56s
Test / Hakurei (push) Successful in 3m11s
Test / Hakurei (race detector) (push) Successful in 3m31s
Test / Hpkg (push) Successful in 4m44s
Test / Flake checks (push) Successful in 1m39s

This avoids truncating unreasonably long lines from llvm.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-01-24 11:45:44 +09:00
parent 5e55a796df
commit acee0b3632

View File

@@ -259,6 +259,10 @@ func scanVerbose(
) { ) {
defer close(done) defer close(done)
s := bufio.NewScanner(r) s := bufio.NewScanner(r)
s.Buffer(
make([]byte, bufio.MaxScanTokenSize),
bufio.MaxScanTokenSize<<12,
)
for s.Scan() { for s.Scan() {
msg.Verbose(prefix, s.Text()) msg.Verbose(prefix, s.Text())
} }