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

libc 0.3: Change prototypes for exec* function to match headers #3597

Merged
merged 2 commits into from
Feb 29, 2024

Conversation

safinaskar
Copy link

Yes, this makes the prototypes harder to use. And less intuitive.
But this makes them match headers, and thus now we can properly test them. This fixes #1272

This is breaking change

@rustbot
Copy link
Collaborator

rustbot commented Feb 25, 2024

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @JohnTitor (or someone else) some time within the next two weeks.

Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (S-waiting-on-review and S-waiting-on-author) stays updated, invoking these commands when appropriate:

  • @rustbot author: the review is finished, PR author should check the comments and take action accordingly
  • @rustbot review: the author is ready for a review, this PR will be queued again in the reviewer's queue

@rustbot
Copy link
Collaborator

rustbot commented Feb 25, 2024

Some changes occurred in OpenBSD module

cc @semarie

Some changes occurred in solarish module

cc @jclulow, @pfmooney

Yes, this makes the prototypes harder to use. And less intuitive.
But this makes them match headers, and thus now we can properly test
them. This fixes rust-lang#1272

Also we fix return types for some Windows exec* functions
But for unknown reasons we still have to skip "fexecve" for Android
@safinaskar
Copy link
Author

I rebased multiple times, and now the PR is ready for review

@JohnTitor JohnTitor added this pull request to the merge queue Feb 29, 2024
Merged via the queue into rust-lang:main with commit 6f47f51 Feb 29, 2024
41 checks passed
@asomers
Copy link
Contributor

asomers commented Mar 22, 2024

@JohnTitor did you realize that this change is backwards-incompatible, and causes downstream crates' builds to fail?

@semarie
Copy link
Contributor

semarie commented Mar 23, 2024

these commits are in main branch, and not in libc-0.2 branch. so I assume it is fine from libc point of vue ?

see v0.3 Roadmap.

@asomers
Copy link
Contributor

asomers commented Mar 23, 2024

Ahh, that makes sense. Thanks, @semarie .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The signature of "execv" | "execve" | "execvp" | "fexecve" is incorrect
6 participants