std: organise sys::pal::os#153413
Merged
rust-bors[bot] merged 3 commits intorust-lang:mainfrom Mar 9, 2026
Merged
Conversation
Collaborator
|
rustbot has assigned @Mark-Simulacrum. Use Why was this reviewer chosen?The reviewer was selected based on:
|
joboet
commented
Mar 4, 2026
Member
Author
There was a problem hiding this comment.
Removing this wasn't strictly necessary, but I figured since I was moving cvt/cvt_r too this just makes sense. Especially since wasi/mod.rs is now defining pretty much the same things as the UNIX version.
joboet
commented
Mar 4, 2026
| use crate::sys::unsupported; | ||
| use crate::{fmt, io}; | ||
|
|
||
| // Add a few symbols not in upstream `libc` just yet. |
Member
Author
There was a problem hiding this comment.
That's no longer true (except for __wasilibc_get_environ).
Member
|
@bors r+ |
Contributor
jhpratt
added a commit
to jhpratt/rust
that referenced
this pull request
Mar 9, 2026
…ulacrum std: organise `sys::pal::os` Continuing rust-lang#153341, this moves around some functions in `sys::pal`, so that `pal::os` only contains standard-path-related code (which I'll move later as part of rust-lang#117276). Best reviewed commit-by-commit.
rust-bors bot
pushed a commit
that referenced
this pull request
Mar 9, 2026
Rollup of 6 pull requests Successful merges: - #153290 (tests: codegen-llvm: iter-repeat-n-trivial-drop: Allow non-zero lower bound to __rust_alloc size) - #153413 (std: organise `sys::pal::os`) - #139692 (Rustfmt now support use closures) - #153244 (tools: remote-test-server: Add UEFI run support) - #153305 (Adapt codegen test to accept operand bundles) - #153340 (tweak r-a default settings)
rust-bors bot
pushed a commit
that referenced
this pull request
Mar 9, 2026
Rollup of 6 pull requests Successful merges: - #153290 (tests: codegen-llvm: iter-repeat-n-trivial-drop: Allow non-zero lower bound to __rust_alloc size) - #153413 (std: organise `sys::pal::os`) - #139692 (Rustfmt now support use closures) - #153244 (tools: remote-test-server: Add UEFI run support) - #153305 (Adapt codegen test to accept operand bundles) - #153340 (tweak r-a default settings)
rust-bors bot
pushed a commit
that referenced
this pull request
Mar 9, 2026
…uwer Rollup of 11 pull requests Successful merges: - #152847 (Test for armv7 `get_unchecked(...)` inlining) - #153290 (tests: codegen-llvm: iter-repeat-n-trivial-drop: Allow non-zero lower bound to __rust_alloc size) - #153413 (std: organise `sys::pal::os`) - #139692 (Rustfmt now support use closures) - #152800 (Adds recursion limit into FindParamInClause) - #153244 (tools: remote-test-server: Add UEFI run support) - #153305 (Adapt codegen test to accept operand bundles) - #153340 (tweak r-a default settings) - #153509 (Cleanup unused diagnostic emission methods - part 2) - #153527 (Fix LegacyKeyValueFormat report from docker build: ohos) - #153594 (Move some ui tests)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Continuing #153341, this moves around some functions in
sys::pal, so thatpal::osonly contains standard-path-related code (which I'll move later as part of #117276).Best reviewed commit-by-commit.