Skip to content

hermit target build failed #154626

@Wyvern

Description

@Wyvern

rustc 1.96.0-nightly (cf7da0b 2026-03-30)
build *-unknown-hermit target, got error like below:

error[: no method named `unwrap` found for type `i32` in the current scope
  ╭▸ /rustc/cf7da0b7277cad05b79f91b60c290aa08a17a6f0/library/std/src/sys/time/hermit.rs:9:61
  │
9 │     unsafe { hermit_abi::clock_gettime(clock, &raw mut t) }.unwrap();
  ╰╴                                                            ━━━━━━ method not found in `i32`

nightly 2026-03-29 worked well.

issue from this commit: 27242aa Panic in Hermit clock_gettime

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageThis issue may need triage. Remove it if it has been sufficiently triaged.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions