Skip to content

std: use OnceLock for Xous environment variables#152535

Open
joboet wants to merge 1 commit intorust-lang:mainfrom
joboet:xous_env_once_lock
Open

std: use OnceLock for Xous environment variables#152535
joboet wants to merge 1 commit intorust-lang:mainfrom
joboet:xous_env_once_lock

Conversation

@joboet
Copy link
Member

@joboet joboet commented Feb 12, 2026

There's no need for exposed-provenance-shenanigans here...

CC @xobs

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Feb 12, 2026
@joboet joboet marked this pull request as ready for review February 12, 2026 13:49
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Feb 12, 2026
@rustbot rustbot removed the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Feb 12, 2026
@rustbot
Copy link
Collaborator

rustbot commented Feb 12, 2026

r? @ChrisDenton

rustbot has assigned @ChrisDenton.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: @ChrisDenton, libs
  • @ChrisDenton, libs expanded to 8 candidates
  • Random selection from ChrisDenton, Mark-Simulacrum

@xobs
Copy link
Contributor

xobs commented Feb 13, 2026

This seems good to me. I believe the pointer shenanigans were from before we started collecting the arguments in an iterator, so it's good to get rid of it since it's not required.

@joboet
Copy link
Member Author

joboet commented Mar 2, 2026

@rustbot reroll

@rust-bors

This comment has been minimized.

@joboet joboet force-pushed the xous_env_once_lock branch from f9a1b3b to 6f980d4 Compare March 5, 2026 18:59
@rustbot
Copy link
Collaborator

rustbot commented Mar 5, 2026

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.

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.

5 participants