-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
std: small sys refactor
#149930
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
Open
joboet
wants to merge
4
commits into
rust-lang:main
Choose a base branch
from
joboet:small-sys-refactor
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
std: small sys refactor
#149930
Conversation
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
Collaborator
|
r? @ChrisDenton rustbot has assigned @ChrisDenton. Use |
Member
|
lgtm @bors r+ |
Collaborator
Member
Author
|
@bors rollup=iffy |
JonathanBrouwer
added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Dec 13, 2025
…Denton std: small `sys` refactor Part of rust-lang#117276 The large number of files changed just results from the need to update a lot of imports. Actually this PR only: * combines the two definitions of `RawOsError` in `sys::pal` into one in `sys::io` * moves `FULL_BACKTRACE_DEFAULT` from `sys::pal` to `sys::backtrace` * moves the `FromInner`/`IntoInner`/... traits into `sys` (in preparation for removing `sys_common` entirely)
bors
added a commit
that referenced
this pull request
Dec 13, 2025
…uwer Rollup of 5 pull requests Successful merges: - #148755 (Constify `DropGuard::dismiss` and trait impls) - #148825 (Add SystemTime::{MIN, MAX}) - #149894 (Update to mdbook 0.5) - #149930 (std: small `sys` refactor) - #149949 (Cleanup of attribute parsing errors) r? `@ghost` `@rustbot` modify labels: rollup
Contributor
... and remove the `#[doc(hidden)]` in favour of making them `pub(crate)`.
5d83454 to
a3df118
Compare
Member
Author
Collaborator
Contributor
|
Just for fun |
rust-bors bot
added a commit
that referenced
this pull request
Dec 13, 2025
std: small `sys` refactor try-job: dist-various-*
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
💔 Test for 3aaf686 failed: CI. Failed jobs:
|
Contributor
|
@bors r- |
a3df118 to
2d27400
Compare
Member
Author
|
@bors try jobs=dist-various-* |
rust-bors bot
added a commit
that referenced
this pull request
Dec 13, 2025
std: small `sys` refactor try-job: dist-various-*
This comment has been minimized.
This comment has been minimized.
Member
Author
Collaborator
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
O-android
Operating system: Android
O-apple
Operating system: Apple (macOS, iOS, tvOS, visionOS, watchOS)
O-fuchsia
Operating system: Fuchsia
O-hermit
Operating System: Hermit
O-linux
Operating system: Linux
O-netbsd
Operating system: NetBSD
O-redox
Operating system: Redox, https://www.redox-os.org/
O-SGX
Target: SGX
O-solaris
Operating system: Solaris
O-solid
Operating System: SOLID
O-unix
Operating system: Unix-like
O-wasi
Operating system: Wasi, Webassembly System Interface
O-wasm
Target: WASM (WebAssembly), http://webassembly.org/
O-windows
Operating system: Windows
S-waiting-on-bors
Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
T-libs
Relevant to the library team, which will review and decide on the PR/issue.
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.
Part of #117276
The large number of files changed just results from the need to update a lot of imports. Actually this PR only:
RawOsErrorinsys::palinto one insys::ioFULL_BACKTRACE_DEFAULTfromsys::paltosys::backtraceFromInner/IntoInner/... traits intosys(in preparation for removingsys_commonentirely)