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

Add Debug to OpenOptions and DirBuilder #38577

Merged
merged 2 commits into from
Dec 27, 2016
Merged

Conversation

jackpot51
Copy link
Contributor

@jackpot51 jackpot51 commented Dec 23, 2016

This fixes the build on Redox as the platform independent structs now implement Debug.

@rust-highfive
Copy link
Collaborator

r? @aturon

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

@alexcrichton
Copy link
Member

@bors: r+

@bors
Copy link
Contributor

bors commented Dec 25, 2016

📌 Commit 9f9489b has been approved by alexcrichton

@shepmaster
Copy link
Member

Why does this commit touch mkdir at all? Shouldn't it only involve changes regarding Debug?

@jackpot51
Copy link
Contributor Author

jackpot51 commented Dec 26, 2016

@shepmaster - my mistake, it should have been seperate but is critical nonetheless. The mkdir call on Redox should use cloexec to avoid threads from handing over directory references if they are to call exec at the same time another is calling mkdir

@bors
Copy link
Contributor

bors commented Dec 27, 2016

⌛ Testing commit 9f9489b with merge 86896ba...

bors added a commit that referenced this pull request Dec 27, 2016
Add Debug to OpenOptions and DirBuilder

This fixes the build on Redox as the platform independent structs now implement Debug.
@bors
Copy link
Contributor

bors commented Dec 27, 2016

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

@bors bors merged commit 9f9489b into rust-lang:master Dec 27, 2016
@jackpot51
Copy link
Contributor Author

Thanks @alexcrichton!

bors added a commit that referenced this pull request Dec 28, 2016
Fix argument handling on Redox

After switching the start code to be handled in libc, we are no longer passing in slices as arguments into the libstd main function. This means that handling had to be rewritten to match the unix way of doing things.

Additional commits on this branch are going to be merged in this PR: #38577 (comment)
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