Skip to content

Conversation

@danakj
Copy link
Contributor

@danakj danakj commented May 24, 2023

The explicit-init-args-with-glibc feature will disable the static initializer that is used on Linux with glibc to initialize std::env::args. The result is that the args will be empty in a cdylib on this platform.

The feature is off by default, so there is no change to any Rust users unless they build stdlib themselves and turn the feature on explicitly.

The `explicit-init-args-with-glibc` feature will disable
the static initializer that is used on Linux with glibc
to initialize `std::env::args`. The result is that the
args will be empty in a cdylib on this platform.

The feature is off by default, so there is no change to
any Rust users unless they build stdlib themselves and
turn the feature on explicitly.
@rustbot
Copy link
Collaborator

rustbot commented May 24, 2023

r? @Mark-Simulacrum

(rustbot has picked a reviewer for you, use r? to override)

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels May 24, 2023
@the8472
Copy link
Member

the8472 commented Jun 1, 2023

Closing this since it was rejected in the associated issue

@the8472 the8472 closed this Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants