Stream: general

Topic: Miri strange behavior with Rustix crate


view this post on Zulip cleat5693 (Sep 14 2025 at 09:44):

Hello! I was trying to run simple winit example with miri and got this strange error:
$ MIRIFLAGS="-Zmiri-disable-isolation -Zmiri-native-lib=/lib/x86_64-linux-gnu/libc.so.6" cargo miri run
https://privatebin.io/?c501796d13a5bb9a#Ac5NbSvqFaX9G4FdX7VAaqihw3h7j2hcwTi5xsJKg98F
Miri says that it is an error in Rustix crate. Is this rustix or miri bug? Should I open an issue in https://github.com/bytecodealliance/rustix?

Visit this link to see the note. Giving the URL to anyone allows them to access the note, too.
Safe Rust bindings to POSIX-ish APIs. Contribute to bytecodealliance/rustix development by creating an account on GitHub.

Last updated: Dec 06 2025 at 05:03 UTC