Skip to content

Conversation

@joboet
Copy link
Member

@joboet joboet commented Dec 12, 2025

Part of #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)

@rustbot
Copy link
Collaborator

rustbot commented Dec 12, 2025

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

@rustbot rustbot added 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-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 Dec 12, 2025
@ChrisDenton
Copy link
Member

lgtm

@bors r+

@bors
Copy link
Collaborator

bors commented Dec 13, 2025

📌 Commit 5d83454 has been approved by ChrisDenton

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Dec 13, 2025
@joboet
Copy link
Member Author

joboet commented Dec 13, 2025

@bors rollup=iffy
(this touches quite a lot of platforms)

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
@JonathanBrouwer
Copy link
Contributor

@bors r-
#149953 (comment)

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Dec 13, 2025
@joboet joboet force-pushed the small-sys-refactor branch from 5d83454 to a3df118 Compare December 13, 2025 19:48
rust-bors bot added a commit that referenced this pull request Dec 13, 2025
std: small `sys` refactor

try-job: dist-various-*
@rust-bors

This comment has been minimized.

@rust-bors
Copy link

rust-bors bot commented Dec 13, 2025

☀️ Try build successful (CI)
Build commit: ee1bc49 (ee1bc493a89cee2bf25e8b346659d23da7128dbd, parent: 430d8297c712ca7e8a4866d7ddccf1b71ba5d4d3)

@joboet
Copy link
Member Author

joboet commented Dec 13, 2025

@bors r=@ChrisDenton

@bors
Copy link
Collaborator

bors commented Dec 13, 2025

📌 Commit 2d27400 has been approved by ChrisDenton

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Dec 13, 2025
@bors
Copy link
Collaborator

bors commented Dec 15, 2025

☔ The latest upstream changes (presumably #149999) made this pull request unmergeable. Please resolve the merge conflicts.

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Dec 15, 2025
@joboet joboet force-pushed the small-sys-refactor branch from 2d27400 to 33409da Compare December 15, 2025 13:02
@rustbot
Copy link
Collaborator

rustbot commented Dec 15, 2025

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.

@joboet
Copy link
Member Author

joboet commented Dec 15, 2025

@bors r=@ChrisDenton

@bors
Copy link
Collaborator

bors commented Dec 15, 2025

📌 Commit 33409da has been approved by ChrisDenton

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Dec 15, 2025
@bors
Copy link
Collaborator

bors commented Dec 15, 2025

⌛ Testing commit 33409da with merge 21ff67d...

@bors
Copy link
Collaborator

bors commented Dec 15, 2025

☀️ Test successful - checks-actions
Approved by: ChrisDenton
Pushing 21ff67d to main...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Dec 15, 2025
@bors bors merged commit 21ff67d into rust-lang:main Dec 15, 2025
12 checks passed
@rustbot rustbot added this to the 1.94.0 milestone Dec 15, 2025
@github-actions
Copy link
Contributor

What is this? This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.

Comparing 0160933 (parent) -> 21ff67d (this PR)

Test differences

Show 1174 test diffs

1174 doctest diffs were found. These are ignored, as they are noisy.

Test dashboard

Run

cargo run --manifest-path src/ci/citool/Cargo.toml -- \
    test-dashboard 21ff67df15329dd7548ccba54b6c6ae9a562124f --output-dir test-dashboard

And then open test-dashboard/index.html in your browser to see an overview of all executed tests.

Job duration changes

  1. dist-apple-various: 4006.3s -> 4748.7s (+18.5%)
  2. aarch64-msvc-1: 6577.6s -> 7770.8s (+18.1%)
  3. aarch64-gnu-llvm-20-2: 2828.4s -> 3158.8s (+11.7%)
  4. pr-check-2: 2349.8s -> 2611.9s (+11.2%)
  5. dist-aarch64-llvm-mingw: 5810.2s -> 6423.4s (+10.6%)
  6. x86_64-mingw-1: 9641.6s -> 10499.6s (+8.9%)
  7. x86_64-gnu-miri: 4646.3s -> 4248.6s (-8.6%)
  8. tidy: 167.3s -> 154.6s (-7.6%)
  9. x86_64-gnu-llvm-21-2: 5188.5s -> 5569.3s (+7.3%)
  10. x86_64-msvc-2: 9362.7s -> 8676.3s (-7.3%)
How to interpret the job duration changes?

Job durations can vary a lot, based on the actual runner instance
that executed the job, system noise, invalidated caches, etc. The table above is provided
mostly for t-infra members, for simpler debugging of potential CI slow-downs.

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (21ff67d): comparison URL.

Overall result: no relevant changes - no action needed

@rustbot label: -perf-regression

Instruction count

This benchmark run did not return any relevant results for this metric.

Max RSS (memory usage)

This benchmark run did not return any relevant results for this metric.

Cycles

Results (primary -8.2%, secondary -5.2%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
-8.2% [-8.2%, -8.2%] 1
Improvements ✅
(secondary)
-5.2% [-5.2%, -5.2%] 1
All ❌✅ (primary) -8.2% [-8.2%, -8.2%] 1

Binary size

This benchmark run did not return any relevant results for this metric.

Bootstrap: 480.115s -> 479.832s (-0.06%)
Artifact size: 390.24 MiB -> 390.26 MiB (0.00%)

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

Labels

merged-by-bors This PR was explicitly merged by bors. 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants