mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 22:18:23 +03:00
319f2dd9e1
Add support for OpenOptions::create_new()/O_EXCL This PR extends the POSIX shim for `open` to support the `O_EXCL` flag, when it is used alongside `O_CREAT`, and exercises it by testing `OpenOptions::create_new`.