-
Notifications
You must be signed in to change notification settings - Fork 13.9k
Open
Labels
C-bugCategory: This is a bug.Category: This is a bug.O-appleOperating system: Apple (macOS, iOS, tvOS, visionOS, watchOS)Operating system: Apple (macOS, iOS, tvOS, visionOS, watchOS)O-watchosOperating System: watchOSOperating System: watchOST-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.
Description
Building the latest nightly with --target arm64_32-apple-watchos
, fails with the following:
error[E0308]: mismatched types
--> /home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/sync/condvar.rs:123:21
|
123 | tv_sec: dur.as_secs() as i64,
| ^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `i64`
error[E0308]: mismatched types
--> /home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/sync/condvar.rs:124:22
|
124 | tv_nsec: dur.subsec_nanos() as i64,
| ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `i64`
Meta
rustc --version --verbose
:
rustc 1.92.0-nightly (57ef8d642 2025-10-15)
binary: rustc
commit-hash: 57ef8d642d21965304bde849bab4f389b4353e27
commit-date: 2025-10-15
host: x86_64-unknown-linux-gnu
release: 1.92.0-nightly
LLVM version: 21.1.3
Backtrace
<backtrace>
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.O-appleOperating system: Apple (macOS, iOS, tvOS, visionOS, watchOS)Operating system: Apple (macOS, iOS, tvOS, visionOS, watchOS)O-watchosOperating System: watchOSOperating System: watchOST-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.