-
Notifications
You must be signed in to change notification settings - Fork 352
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 when running tests in a no_std lib crate #2904
Comments
Are the crate sources on github somewhere or so?
|
The crate doesn't have a repo link and I can't find it on @jam1garner's GitHub page. I downloaded the sources from crates.io, for example using https://github.com/saethlin/miri-tools/blob/50412bc80fd5966e53e103bde987bad7107bebc9/cargo-download/src/main.rs |
Don't have to time to look at this rn in case I have other insight but here's the repo link: https://github.com/ultimate-research/nnsdk-rs |
Ah, perfect. I wasn't expecting any help from you, I think this is almost certainly just a Miri issue. |
Ah it is Fixing the ICE is fairly easy by being less panic-y around here. Actually making it work is harder though. Judging from the backtrace there actually is a |
|
This crate comes with a
aarch64-skyline-switch.json
file, I feel like there's some sort of target mismatch when I blindly runcargo miri test
on it. So on the one hand I'm not actually expecting tests to run or pass, but also we probably shouldn't ICE instd::rt
?https://crates.io/crates/nnsdk/0.3.0
The text was updated successfully, but these errors were encountered: