-
Notifications
You must be signed in to change notification settings - Fork 320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ICE due to overflow when using a large timeout with futexes #3647
Comments
I think the bug is that we're using a
We're using
We should be using The changes are all in this file and look rather approachable to me: https://github.com/rust-lang/miri/blob/38e318ccd255a090eb57e19d2aac5ed2ec0e2b92/src/clock.rs |
cargo miri run
on embassy democargo miri run
on embassy demo
Yeah I guess that should either be u128 (and argue carefully why that cannot overflow) or use saturating arithmetic - waking up early is always fine.
|
cargo miri run
on embassy demo
The code works fine with
cargo run
, butcargo miri run
will always emit iceThe text was updated successfully, but these errors were encountered: