-
Notifications
You must be signed in to change notification settings - Fork 353
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
miri does not support parking_lot (requires futexes: syscall ID 202) #1562
Comments
we don't support network connections yet at all. We should look into supporting parking_lot though, that seems like a good first step |
SQLite doesn't need a network connection I think, usually applications open the DB files directly. But yeah, looks like for parking_lot we'll need to implement futexes. |
Looks like Miri now needs this even for the standard library due to rust-lang/rust#76919 (Cc rust-lang/rust#77406). @m-ou-se said they would work on it; let me know if you need any help! |
You were quite lucky, the standard library started using futexes so there was a lot of pressure to get them working. ;) Then @m-ou-se went above what the standard library needed and also got parking_lot to work. |
I'm testing out miri on my codebase. (So not very familiar with it)
Given this is much higher level then some small library, so did not expect it to work 2nd try.
This test failed because of
unsupported operation: miri does not support syscall ID 202
.It was trying to connect to a SQLite database (via Diesel).
Maybe you can do something with this info.
So call is going: MyApplication -> (diesel ->) r2d2 -> parking_lot -> parking_lot_core -> Error
For now I'll be adding
#[cfg_attr(miri, ignore)]
.The text was updated successfully, but these errors were encountered: