Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid retaining all rustc output in memory. #6289

Merged
merged 1 commit into from
Nov 9, 2018

Conversation

ehuss
Copy link
Contributor

@ehuss ehuss commented Nov 9, 2018

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

r? @alexcrichton

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

@alexcrichton
Copy link
Member

@bors: r+

@bors
Copy link
Collaborator

bors commented Nov 9, 2018

📌 Commit 17b6df9 has been approved by alexcrichton

@bors
Copy link
Collaborator

bors commented Nov 9, 2018

⌛ 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
Copy link
Collaborator

bors commented Nov 9, 2018

☀️ 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