lvanasse commented on PR #2487: URL: https://github.com/apache/nuttx-apps/pull/2487#issuecomment-2580618220
> > What is your opinion on the idea of restarting the development of the NuttX API in the [rustix](https://github.com/bytecodealliance/rustix/tree/nuttx) crate? > > @lvanasse rustix is kinda heavy I think? It does Managed File Descriptors that will auto-close when they go out of scope. There might be a lot of dependencies inside? > > I wrote about it here: https://lupyuen.github.io/articles/rust6#handle-errors-safely > > > _Can we auto-close the File Descriptor when it goes out of scope?_ > > Probably, if we do [**Managed File Descriptors**](https://docs.rs/rustix/latest/rustix/fd/struct.OwnedFd.html). But that's way beyond the size, scope and scale of GSoC. Sounds good, I'll follow your lead then :) I'll happyly help out where I can for this. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org