Skip to content

fix compilation of time/hermit.rs#154706

Open
mkroening wants to merge 1 commit intorust-lang:mainfrom
hermit-os:time-hermit
Open

fix compilation of time/hermit.rs#154706
mkroening wants to merge 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
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.

build *-unknown-hermit failed hermit target build failed

3 participants