Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bound stdout shifting to prevent excessive allocations (#941)
I noticed this when using an incremental rebuild. In my project, the `stdout` can grow to 100mb+ during the initial build. During rebuild, the `stdout` is mostly empty. But the old code used an unbounded `slice`, which allocated almost the full 100mb.
- Loading branch information