capsicum-rs icon indicating copy to clipboard operation
capsicum-rs copied to clipboard

Use I/O Safety

Open asomers opened this issue 2 years ago • 1 comments

Rust 1.63.0 introduces I/O safety. RawFd (just a wrapper around i32) gets replaced by OwnedFd to track file ownership. It's a very nice improvement, and I think capscium should take advantage. https://blog.rust-lang.org/2022/08/11/Rust-1.63.0.html#rust-ownership-for-raw-file-descriptorshandles-io-safety

asomers avatar Dec 19 '22 19:12 asomers

👍 this would be very nice!

dlrobertson avatar Dec 21 '22 08:12 dlrobertson