Skip to content

add environ to unix - #5339

Open
LusterSourav wants to merge 15 commits into
rust-lang:mainfrom
LusterSourav:add-environ-v4
Open

add environ to unix#5339
LusterSourav wants to merge 15 commits into
rust-lang:mainfrom
LusterSourav:add-environ-v4

Conversation

@LusterSourav

@LusterSourav LusterSourav commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

see commit messages.

  • libc-test/semver/unix.txt updated
  • commit messages link to POSIX exec spec
  • not applicable (no placeholder values)
  • cargo test -p libc-test — 15 passed

Closes #2520

@rustbot label +stable-nominated

@rustbot rustbot added O-unix S-waiting-on-review stable-nominated This PR should be considered for cherry-pick to libc's stable release branch labels Jul 29, 2026
Comment thread libc-test/build.rs
Comment thread libc-test/build.rs Outdated
@LusterSourav

Copy link
Copy Markdown
Contributor Author
image

@LusterSourav

Copy link
Copy Markdown
Contributor Author
image

@LusterSourav
LusterSourav requested a review from tgross35 July 29, 2026 21:32
@LusterSourav

Copy link
Copy Markdown
Contributor Author

@LusterSourav

Copy link
Copy Markdown
Contributor Author

@tgross35 tgross35 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(updating status)

View changes since this review

@rustbot

rustbot commented Jul 30, 2026

Copy link
Copy Markdown
Collaborator

Reminder, once the PR becomes ready for a review, use @rustbot ready.

@rustbot

This comment has been minimized.

@rustbot

rustbot commented Jul 30, 2026

Copy link
Copy Markdown
Collaborator

⚠️ Warning ⚠️

  • The following commits have merge commits (commits with multiple parents) in your changes. We have a no merge policy so these commits will need to be removed for this pull request to be merged.

    You can start a rebase with the following commands:

    $ # rebase
    $ git pull --rebase https://github.com/rust-lang/libc.git main
    $ git push --force-with-lease
    

@LusterSourav
LusterSourav force-pushed the add-environ-v4 branch 2 times, most recently from 3bb2917 to ea35ffa Compare July 30, 2026 16:28
@LusterSourav

Copy link
Copy Markdown
Contributor Author

environ now linux-gnu only. glibc declares it in <unistd.h> behind _GNU_SOURCE. no ctest skips elsewhere. commit messages link to headers.

@LusterSourav

Copy link
Copy Markdown
Contributor Author

@rustbot ready

@rustbot

This comment has been minimized.

@rustbot

rustbot commented Aug 2, 2026

Copy link
Copy Markdown
Collaborator

⚠️ Warning ⚠️

  • The following commits have merge commits (commits with multiple parents) in your changes. We have a no merge policy so these commits will need to be removed for this pull request to be merged.

    You can start a rebase with the following commands:

    $ # rebase
    $ git pull --rebase https://github.com/rust-lang/libc.git main
    $ git push --force-with-lease
    

@rustbot

This comment has been minimized.

@rustbot

rustbot commented Aug 2, 2026

Copy link
Copy Markdown
Collaborator

This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

@tgross35 tgross35 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May as well take this but please clean up the history - 15 commits is a lot for a four line diff :)

@rustbot author

View changes since this review

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

Labels

O-gnu O-linux O-linux-like O-unix S-waiting-on-author stable-nominated This PR should be considered for cherry-pick to libc's stable release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add "environ"

3 participants