Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Drop use of FileExt#221

Merged
cgwalters merged 1 commit intoostreedev:mainfrom
cgwalters:drop-fileext
Jan 26, 2022
Merged

Drop use of FileExt#221
cgwalters merged 1 commit intoostreedev:mainfrom
cgwalters:drop-fileext

Conversation

@cgwalters
Copy link
Member

I stumbled across the fact that we no longer need
coreos/openat-ext@c377a54
because
rust-lang/rust#75272
landed just a few months after!

While we're here, slightly clean up the fd dance to make things a bit
safer using BorrowedFd. It's interesting to note here that with
io-lifetimes we could add a method to the glib crate to borrow the
underlying fd safely.

I stumbled across the fact that we no longer need
coreos/openat-ext@c377a54
because
rust-lang/rust#75272
landed just a few months after!

While we're here, slightly clean up the fd dance to make things a bit
safer using `BorrowedFd`.  It's interesting to note here that with
io-lifetimes we could add a method to the glib crate to borrow the
underlying fd safely.
@cgwalters cgwalters merged commit 69923e4 into ostreedev:main Jan 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants