-
Notifications
You must be signed in to change notification settings - Fork 390
Add mkstemp
shim for unix
#2346
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
Conversation
06e581a
to
e837bee
Compare
Dropping this here as a reminder as it might be relevant: |
Duh, the target will always be unix here so all we have to do is convert at the function call boundary at runtime. I was thinking of my other |
Actually, this exists on windows, not sure how I missed it: https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/mktemp-s-wmktemp-s?view=msvc-170 I can hoist this up to a general shim, add windows tests, and clean it up. |
Please keep this PR to Unix targets only. |
Will get to this later in the week, thank you for the review |
Ok, I think all outstanding items are fixed. Thank you for your patience as I ramp up in the codebase, apologies for so much back and forth! |
☔ The latest upstream changes (presumably #2349) made this pull request unmergeable. Please resolve the merge conflicts. |
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.
We are getting there. :)
@rustbot author |
@rustbot ready |
Looks good! Just one last nit, and then please squash all the commits into one. |
☔ The latest upstream changes (presumably #2457) made this pull request unmergeable. Please resolve the merge conflicts. |
Co-authored-by: Ralf Jung <[email protected]>
@RalfJung squashed. |
Thanks. :) |
☀️ Test successful - checks-actions |
No description provided.