Skip to content

fix compilation of time/hermit.rs#154706

Merged
rust-bors[bot] merged 1 commit intorust-lang:mainfrom
hermit-os:time-hermit
Apr 5, 2026
Merged

fix compilation of time/hermit.rs#154706
rust-bors[bot] merged 1 commit intorust-lang:mainfrom
hermit-os:time-hermit

Conversation

@mkroening
Copy link
Copy Markdown
Contributor

#154518 has broken compiling std for Hermit by unwrapping an i32.

This PR converts the i32 to an io::Result before unwrapping.

Closes #154626.
Closes hermit-os/hermit-rs#965.

r? @Mark-Simulacrum

rust-lang#154518 has broken compiling std for Hermit by unwrapping an `i32`.
This commit converts the `i32` to an `io::Result` before unwrapping.
@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 Apr 2, 2026
@Mark-Simulacrum
Copy link
Copy Markdown
Member

@bors r+ rollup

@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors bot commented Apr 4, 2026

📌 Commit 3d55f38 has been approved by Mark-Simulacrum

It is now in the queue for this repository.

@rust-bors rust-bors bot 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 Apr 4, 2026
rust-bors bot pushed a commit that referenced this pull request Apr 4, 2026
…uwer

Rollup of 6 pull requests

Successful merges:

 - #147552 ([Debugger Visualizers] Optimize lookup behavior)
 - #154052 (float: Fix panic at max exponential precision)
 - #154706 (fix compilation of time/hermit.rs)
 - #154707 (Make `substr_range` and `subslice_range` return the new `Range` type)
 - #154767 (triagebot: roll library reviewers for `{coretests,alloctests}`)
 - #154797 (bootstrap: Include shorthand aliases in x completions)
@rust-bors rust-bors bot merged commit ccac77a into rust-lang:main Apr 5, 2026
11 checks passed
@rustbot rustbot added this to the 1.96.0 milestone Apr 5, 2026
rust-timer added a commit that referenced this pull request Apr 5, 2026
Rollup merge of #154706 - hermit-os:time-hermit, r=Mark-Simulacrum

fix compilation of time/hermit.rs

#154518 has broken compiling std for Hermit by unwrapping an `i32`.

This PR converts the `i32` to an `io::Result` before unwrapping.

Closes #154626.
Closes hermit-os/hermit-rs#965.

r? @Mark-Simulacrum
github-actions bot pushed a commit to rust-lang/miri that referenced this pull request Apr 5, 2026
…uwer

Rollup of 6 pull requests

Successful merges:

 - rust-lang/rust#147552 ([Debugger Visualizers] Optimize lookup behavior)
 - rust-lang/rust#154052 (float: Fix panic at max exponential precision)
 - rust-lang/rust#154706 (fix compilation of time/hermit.rs)
 - rust-lang/rust#154707 (Make `substr_range` and `subslice_range` return the new `Range` type)
 - rust-lang/rust#154767 (triagebot: roll library reviewers for `{coretests,alloctests}`)
 - rust-lang/rust#154797 (bootstrap: Include shorthand aliases in x completions)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

build *-unknown-hermit failed hermit target build failed

3 participants