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
use confstr(_CS_DARWIN_USER_TEMP_DIR, ...)
as a TMPDIR
fallback on Darwin
#100824
base: master
Are you sure you want to change the base?
Conversation
r? @m-ou-se (rust-highfive has picked a reviewer for you, use r? to override) |
This is a behavioral change so should go through FCP probably. See #100196 (comment) and #100196 (comment) for some of the motivation. I'll also clean up the |
☔ The latest upstream changes (presumably #102450) made this pull request unmergeable. Please resolve the merge conflicts. |
ee1c648
to
ebc6401
Compare
d294b1f
to
49dbfa9
Compare
This is a behavioral change in an edge case on Darwin platforms (macOS, iOS, ...). Specifically, this changes it so that iff The motivations here are two-fold:
It seems quite unlikely that anybody will break because of this, and I think it falls under the carve-out we have for platform specific behavior: https://doc.rust-lang.org/nightly/std/io/index.html#platform-specific-behavior. |
Hey! It looks like you've submitted a new PR for the library teams! If this PR contains changes to any Examples of
|
☔ The latest upstream changes (presumably #103471) made this pull request unmergeable. Please resolve the merge conflicts. |
49dbfa9
to
f8768db
Compare
☔ The latest upstream changes (presumably #105328) made this pull request unmergeable. Please resolve the merge conflicts. |
This comment was marked as off-topic.
This comment was marked as off-topic.
@thomcc Hi! We would love to see this land - is this in an FCP queue, or does it need to be manually submitted to that process? |
@rust-lang/libs-api: Relevant reading:
Link 2 is compelling as to why this PR is the best solution. Link 1 lists our other options, neither of which is better. |
Team member @dtolnay has proposed to merge this. The next step is review by the rest of the tagged team members: No concerns currently listed. Once a majority of reviewers approve (and at most 2 approvals are outstanding), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! See this document for info about what commands tagged team members can give me. |
🔔 This is now entering its final comment period, as per the review above. 🔔 |
The final comment period, with a disposition to merge, as per the review above, is now complete. As the automated representative of the governance process, I would like to thank the author for their work and everyone else who contributed. This will be merged soon. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll also clean up the
#[cfg(target_vendor = "apple")]
to be the OSes in question and move it out of a draft PR, when I make the change following the API being available in libc.
Waiting for this (quoted from #100824 (comment)).
LGTM as soon as the cfg is fixed.
Followup to #100196
but should wait on rust-lang/libc#2883 before anything is done with it.(Edit: Now it needs rust-lang/libc#2931... sigh)See #100824 (comment) for an explanation of the change this makes and why I think this is worth doing.
Closes #99608.