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

Allow supplying an error destination via the compiler driver #36760

Merged
merged 1 commit into from
Sep 29, 2016

Conversation

nrc
Copy link
Member

@nrc nrc commented Sep 26, 2016

Allows replacing stderr with a buffer from the client.

Also, some refactoring around run_compiler.

@rust-highfive
Copy link
Collaborator

r? @eddyb

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

@eddyb
Copy link
Member

eddyb commented Sep 26, 2016

@bors r+

@bors
Copy link
Contributor

bors commented Sep 26, 2016

📌 Commit 85743df has been approved by eddyb

@sophiajt
Copy link
Contributor

Failing with:

 Compiling rustc_driver v0.0.0 (file:///build/src/librustc_driver)

error: expected one of `;` or `as`, found `extern`

  --> src/librustc_driver/lib.rs:58:1

   |

58 | extern crate rustc_llvm as llvm;

   | ^^^^^^

error: aborting due to previous error

error: Could not compile `rustc_driver`.

To learn more, run the command again with --verbose.

command did not execute successfully: "/build/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "build" "-j" "2" "--target" "x86_64-unknown-linux-gnu" "--release" "--features" " jemalloc" "--manifest-path" "/build/src/rustc/Cargo.toml"

expected success, got: exit code: 101

@eddyb
Copy link
Member

eddyb commented Sep 26, 2016

@bors r-

@nrc
Copy link
Member Author

nrc commented Sep 27, 2016

r? @eddyb

@bors
Copy link
Contributor

bors commented Sep 27, 2016

☔ The latest upstream changes (presumably #36678) made this pull request unmergeable. Please resolve the merge conflicts.

@nrc
Copy link
Member Author

nrc commented Sep 27, 2016

rebased, ping @eddyb for r?

@eddyb
Copy link
Member

eddyb commented Sep 27, 2016

@bors r+

@bors
Copy link
Contributor

bors commented Sep 27, 2016

📌 Commit 80d9d80 has been approved by eddyb

@bors
Copy link
Contributor

bors commented Sep 28, 2016

⌛ Testing commit 80d9d80 with merge a50a754...

@bors
Copy link
Contributor

bors commented Sep 28, 2016

💔 Test failed - auto-win-gnu-64-opt

@alexcrichton
Copy link
Member

@bors: retry

On Tue, Sep 27, 2016 at 7:33 PM, bors notifications@github.com wrote:

💔 Test failed - auto-win-gnu-64-opt
https://buildbot.rust-lang.org/builders/auto-win-gnu-64-opt/builds/5721


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#36760 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAD95Iw2m8NFOI9Wf47b8FIRxS-xNToiks5qudHjgaJpZM4KHFBt
.

@bors
Copy link
Contributor

bors commented Sep 28, 2016

⌛ Testing commit 80d9d80 with merge 476607e...

@nrc
Copy link
Member Author

nrc commented Sep 28, 2016

looks like real test failure

@bors
Copy link
Contributor

bors commented Sep 28, 2016

💔 Test failed - auto-win-msvc-64-opt-rustbuild

@alexcrichton
Copy link
Member

@bors: retry

On Tue, Sep 27, 2016 at 7:59 PM, bors notifications@github.com wrote:

💔 Test failed - auto-win-msvc-64-opt-rustbuild
https://buildbot.rust-lang.org/builders/auto-win-msvc-64-opt-rustbuild/builds/2609


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#36760 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAD95P6xe5w0HMjJqk9u0HIgpvFSS-xNks5qudf5gaJpZM4KHFBt
.

@bors
Copy link
Contributor

bors commented Sep 28, 2016

⌛ Testing commit 80d9d80 with merge 6a2f6fc...

Allows replacing stderr with a buffer from the client.

Also, some refactoring around run_compiler.
@nrc
Copy link
Member Author

nrc commented Sep 28, 2016

@bors r=eddyb

@bors
Copy link
Contributor

bors commented Sep 28, 2016

📌 Commit e8a4db2 has been approved by eddyb

@bors
Copy link
Contributor

bors commented Sep 28, 2016

⌛ Testing commit e8a4db2 with merge ae94afc...

@bors
Copy link
Contributor

bors commented Sep 28, 2016

💔 Test failed - auto-win-msvc-64-opt-rustbuild

@alexcrichton
Copy link
Member

Hm I haven't seen that before, but sure does look spurious. Let's see if it actually is!

@bors: r+

@bors
Copy link
Contributor

bors commented Sep 28, 2016

💡 This pull request was already approved, no need to approve it again.

  • This pull request previously failed. You should add more commits to fix the bug, or use retry to trigger a build again.
  • There's another pull request that is currently being tested, blocking this pull request: Bump version to 1.14 #36780

@bors
Copy link
Contributor

bors commented Sep 28, 2016

📌 Commit e8a4db2 has been approved by alexcrichton

@sophiajt
Copy link
Contributor

@bors retry

sophiajt pushed a commit to sophiajt/rust that referenced this pull request Sep 29, 2016
Allow supplying an error destination via the compiler driver

Allows replacing stderr with a buffer from the client.

Also, some refactoring around run_compiler.
bors added a commit that referenced this pull request Sep 29, 2016
Rollup of 12 pull requests

- Successful merges: #35286, #35892, #36460, #36704, #36741, #36760, #36787, #36789, #36794, #36803, #36811, #36813
- Failed merges:
@bors bors merged commit e8a4db2 into rust-lang:master Sep 29, 2016
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.

6 participants