Skip to content

Avoid retaining all rustc output in memory.#6289

Merged
bors merged 1 commit into
rust-lang:masterfrom
ehuss:no-buffer-output
Nov 9, 2018
Merged

Avoid retaining all rustc output in memory.#6289
bors merged 1 commit into
rust-lang:masterfrom
ehuss:no-buffer-output

Conversation

@ehuss

@ehuss ehuss commented Nov 9, 2018

Copy link
Copy Markdown
Contributor

There are still a few cases where all output is buffered. They are:

  • Running discovery commands like rustc -vV, rustc --print xxx, etc.
  • Build script output.
  • Testsuite's debug .stream() function.

This should cover the concern of the issue, though, which is normal compilation.

Closes #6197

@rust-highfive

Copy link
Copy Markdown

r? @alexcrichton

(rust_highfive has picked a reviewer for you, use r? to override)

@alexcrichton

Copy link
Copy Markdown
Member

@bors: r+

@bors

bors commented Nov 9, 2018

Copy link
Copy Markdown
Contributor

📌 Commit 17b6df9 has been approved by alexcrichton

@bors

bors commented Nov 9, 2018

Copy link
Copy Markdown
Contributor

⌛ Testing commit 17b6df9 with merge eeb3e16...

bors added a commit that referenced this pull request Nov 9, 2018
Avoid retaining all rustc output in memory.

There are still a few cases where all output is buffered. They are:
- Running discovery commands like `rustc -vV`, `rustc --print xxx`, etc.
- Build script output.
- Testsuite's debug `.stream()` function.

This should cover the concern of the issue, though, which is normal compilation.

Closes #6197
@bors

bors commented Nov 9, 2018

Copy link
Copy Markdown
Contributor

☀️ Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing eeb3e16 to master...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cargo keeps entire rustc/rustdoc stdout in memory

4 participants