Conversation
Add the magic `feature()` code to allow compiling under wasip2, and expose `ino` and `DirEntryExt`.
|
I generally don't accept nightly-only stuff in crates I maintain. I've done it in the past for other crates, and I've generally regretted it due to it causing headaches in one form or another. |
|
I don't really understand why this is nightly only tbh. Neither this page nor this one mention nightly once. Is it possible to use WASI without nightly somehow? Btw if you're curious about my motivation: I got fed up with |
|
@Timmmm That first link talks about it: https://blog.rust-lang.org/2024/11/26/wasip2-tier-2.html#standard-library-support
It will take time for these things to stabilize. |
|
It doesn't say that nightly is required for |
|
That's how APIs get added to std. They land as unstable first. Then we stabilize them at some point in the future. (Stabilization is effectively the process of saying, "we promise to support this API ~forever.") |
|
But yeah I'll close this out for now. Happy to have this re-submitted once the APIs stabilize! |
Add the magic
feature()code to allow compiling under wasip2, and exposeinoandDirEntryExt.Tested with
cargo +nightly build --target wasm32-wasip2.