-
Notifications
You must be signed in to change notification settings - Fork 360
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
Get Miri working on ARM again #2791
Comments
Ouch, sounds like we don't fully support the new standard library channels anymore. That's bad. |
Why is this going through an |
Because OP used |
oh right, I just looked at the path in the error. Yea, we don't test platforms other than x86_64/i686 x linux/windows/mac. Though with the usage that arm is getting in practice, we may want to start testing that, too |
Any guesses as to when this might have regressed? We pin to a particular nightly toolchain in our CI, so if there's an older non-buggy Miri, we could pin to that to unblock ourselves. |
I don't know if we ever supported |
Nope, been running them for a few months. The commit in question just updates what pinned toolchain versions we use in CI (before this commit, it was 1.61.0, 1.64.0, and nightly-2022-10-17). |
yea just saw that. I guess without us testing against arm, such regressions may randomly happen to you again in the future even if we fix this one. I don't know whether there will be more problems if we just turn on tests for an arm target, but we can try. |
If it's not too much work to test on arm, that'd be great for us! But of course asking for free labor is always easy 😛 |
It's not a huge amount of work. This might even be something for a new contributor to do.
|
If that all works, the target should also be added in https://github.com/rust-lang/miri#supported-targets. |
llvm.arm.hint
on OS linux
"
I posted this issue to This Week in Rust's Call for Participation. Hopefully we'll get someone to take a stab at it! |
I wasn't able to get |
Do you have git commit SHAs corresponding to these nightlies? |
I saw your Call for Participation on This Week in Rust, would love to take a stab at this! I've never looked at Miri's code before, but this seems like a good opportunity to start. |
@RalfJung I'm not sure where that information lives; I was hoping someone on this thread might know. @LevitatingLion Thanks!! |
|
Ah gotcha. Here's the output:
|
It looks like Miri is currently broken on ARM. @saethlin has provided basic mentoring instructions: #2791 (comment).
Based on this comment, it appears that the bug was introduced between nightly-2022-11-13 and nightly-2022-11-14.
Original contents
In this commit of zerocopy,
cargo miri test
fails with the following error (edited for brevity - see the full log here):The text was updated successfully, but these errors were encountered: