Uh oh!
There was an error while loading. Please reload this page.
libstd needs update for pending libc change - #39871
Conversation
rust-highfive
commented
Feb 16, 2017
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @brson (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. |
binarycrusader
commented
Feb 16, 2017
Please note that this pull request is dependent upon the changes made to libc and cannot be integrated before that one. |
| target_os = "emscripten")))] | ||
| unsafe fn fallback() -> Option<OsString> { | ||
| #[cfg(not(target_os = "solaris"))] | ||
| unsafe fn getpwduid_r(me: libc::uid_t, passwd: &mut libc::passwd, |
There was a problem hiding this comment.
Now that there's no abstraction, could this wrapper be removed entirely?
There was a problem hiding this comment.
Ah, you're right. I was attempting to minimise changes here, but the wrapper could be removed entirely. Let me simplify this further and rebuild.
binarycrusader
commented
Feb 16, 2017
Ok, I've simplified this as requested and verified that it works as expected (on Solaris). |
alexcrichton
commented
Feb 16, 2017
@bors: r+ |
bors
commented
Feb 16, 2017
📌 Commit 5789539 has been approved by |
…richton libstd needs update for pending libc change This updates libstd to accommodate the fixes made in rust-lang/libc#523Fixesrust-lang#39868
est31
commented
Feb 16, 2017
Hmm, shouldn't the libc submodule be updated? Or does this PR update it and github doesn't show it? |
@est31 This pr does not update the submodule; 1) because I'm relatively new to git and have no idea what the right way is to do that 2) I wasn't certain what rust's policy is for updating submodules. That's why I explicitly noted in the pull request that this change depends upon the changes made in libc. My apologies if there is something more that I should do. If someone would explain to me exactly what I should be doing for pull requests like this, I'm happy to make the requested change. |
alexcrichton
commented
Feb 16, 2017
@bors: r- Oh good catch @est31! @binarycrusader I don't blame you, I try to stay away from submodules with a 10 foot pole... In any case it's totally fine to update the libc submodule whenever, so you're more than welcome to do so. I believe the easiest way to do so is: |
alexcrichton
commented
Feb 16, 2017
@bors: r+ |
bors
commented
Feb 16, 2017
📌 Commit 68a9d8b has been approved by |
est31
commented
Feb 16, 2017
To be honest, I'd have had no idea how to do this myself either. I'm using git since some time already, but I still don't know how to deal with submodules :) |
…richton libstd needs update for pending libc change This updates libstd to accommodate the fixes made in rust-lang/libc#523Fixesrust-lang#39868
binarycrusader
commented
Feb 17, 2017
Looks like one of the checks failed due to a network error but everything else passed? |
…richton libstd needs update for pending libc change This updates libstd to accommodate the fixes made in rust-lang/libc#523Fixesrust-lang#39868
bors
commented
Feb 18, 2017
⌛ Testing commit 68a9d8b with merge 3bac2c1... |
bors
commented
Feb 18, 2017
💔 Test failed - status-travis |
binarycrusader
commented
Feb 19, 2017
Can someone get bors to retry the Travis build? Looks like failure was network or Travis related. |
petrochenkov
commented
Feb 19, 2017
@bors retry |
bors
commented
Feb 19, 2017
libstd needs update for pending libc change This updates libstd to accommodate the fixes made in rust-lang/libc#523Fixes#39868
bors
commented
Feb 19, 2017
☀️ Test successful - status-appveyor, status-travis |
This updates libstd to accommodate the fixes made in rust-lang/libc#523
Fixes#39868