Conversation
|
I could use some advice on the miri error. It looks like perhaps the miri test environment does not support the |
|
Looks like we could ignore a test in miri with |
I think there are two equally fine options:
#[cfg(not(miri))]
let mut file = File::from(rustix::fs::memfd_create(name, MemfdFlags::CLOEXEC)?);
#[cfg(miri)]
let mut file = tempfile::tempfile().unwrap(); |
|
It seems like miri is getting stuck due to the "/proc/pid/fd/X" :( Here's a playground link that shows miri not working with the "/proc/self/fd/{}" line, but working if you just reuse the original file: I'm guessing that since miri does it's own virtualized file descriptors, it just doesn't support these paths. The only thing I can think to do instead is to try using a |
Convert DNS module to Rust and remove C implementation.
Follow-up to #3455 and #3463 ; this should be rebased and merged AFTER #3455 and #3463 are merged.