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

Improve the error management when /proc is not mounted #42056

Merged
merged 1 commit into from
May 19, 2017

Conversation

sylvestre
Copy link
Contributor

This PR does two things:

  • Triggers an error on GNU/Linux & Android when /proc/self/exe doesn't exist
  • Handle the error properly

This PR does two things:
* Triggers an error on GNU/Linux & Android when /proc/self/exe doesn't exist
* Handle the error properly
@rust-highfive
Copy link
Collaborator

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @arielb1 (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@aidanhs aidanhs added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 17, 2017
@aidanhs
Copy link
Member

aidanhs commented May 17, 2017

Thanks for the PR @sylvestre, we'll make sure it gets reviewed by @arielb1 or another reviewer soon!

@arielb1
Copy link
Contributor

arielb1 commented May 18, 2017

r? @alexcrichton

@alexcrichton
Copy link
Member

@bors: r+

Thanks @sylvestre!

@bors
Copy link
Contributor

bors commented May 18, 2017

📌 Commit 1b6a182 has been approved by alexcrichton

Mark-Simulacrum added a commit to Mark-Simulacrum/rust that referenced this pull request May 18, 2017
Improve the error management when /proc is not mounted

This PR does two things:
* Triggers an error on GNU/Linux & Android when /proc/self/exe doesn't exist
* Handle the error properly
Mark-Simulacrum added a commit to Mark-Simulacrum/rust that referenced this pull request May 18, 2017
Improve the error management when /proc is not mounted

This PR does two things:
* Triggers an error on GNU/Linux & Android when /proc/self/exe doesn't exist
* Handle the error properly
@bors
Copy link
Contributor

bors commented May 19, 2017

⌛ Testing commit 1b6a182 with merge 561a121...

@bors
Copy link
Contributor

bors commented May 19, 2017

💔 Test failed - status-appveyor

@sylvestre
Copy link
Contributor Author

Probably not my fault:

Downloading rustc-serialize v0.3.24
error: unable to get packages from source
To learn more, run the command again with --verbose.
Build completed unsuccessfully in 0:02:28

@alexcrichton
Copy link
Member

Mark-Simulacrum added a commit to Mark-Simulacrum/rust that referenced this pull request May 19, 2017
Improve the error management when /proc is not mounted

This PR does two things:
* Triggers an error on GNU/Linux & Android when /proc/self/exe doesn't exist
* Handle the error properly
bors added a commit that referenced this pull request May 19, 2017
@bors bors merged commit 1b6a182 into rust-lang:master May 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants