diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-01-24 11:45:44 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-01-24 11:45:44 +0900 |
| commit | acee0b36328883c4d66192c181652af9d82b7bf4 (patch) | |
| tree | 7b305c79cbe020b2c87bcd936c56981038fa1c2d | |
| parent | 5e55a796df5a85f163b46ef8b9d8b8540304a841 (diff) | |
internal/pkg: increase output buffer size
This avoids truncating unreasonably long lines from llvm.
Signed-off-by: Ophestra <cat@gensokyo.uk>
| -rw-r--r-- | internal/pkg/exec.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/pkg/exec.go b/internal/pkg/exec.go index f8913174..a80124ab 100644 --- a/internal/pkg/exec.go +++ b/internal/pkg/exec.go @@ -259,6 +259,10 @@ func scanVerbose( ) { defer close(done) s := bufio.NewScanner(r) + s.Buffer( + make([]byte, bufio.MaxScanTokenSize), + bufio.MaxScanTokenSize<<12, + ) for s.Scan() { msg.Verbose(prefix, s.Text()) } |
