rust-lang / miri

An interpreter for Rust's mid-level intermediate representation
Apache License 2.0
4.18k stars 323 forks source link

`dup()` not supported #3454

Closed RalfJung closed 2 weeks ago

RalfJung commented 3 months ago

We support duplicating file descriptors via fcntl(F_DUPFD), but nut via dup. That's a bit silly. ;) And we should probably support dup2, too.

(It also shows up in a standard library test that directly calls dup.)

RalfJung commented 3 months ago

@ZoeS17 weren't you looking for a good first issue? This here would be a good one I think.