Dan Gohman
Dan Gohman
The Canonical ABI uses custom representations for `string` and `flags`, rather than using the corresponding generic despecialized types. I submitted #320 with some documentation which I hope helps here.
It looks like this has a build error in the tests on non-Linux platforms: ``` error[E0433]: failed to resolve: could not find `netdevice` in `net` --> tests/net/sockopt.rs:642:29 | 642 |...
There is also some discussion of this idea [here](https://github.com/WebAssembly/design/issues/1431).
This is also aligning with existing implementation in Wasmtime, where it's already possible to have an inner core module with a core-wasm start function, which runs at instantiation time, and...
Ok, I've now filed https://github.com/WebAssembly/component-model/pull/300 to just remove invariant 3, and we can consider/prioritize the rest separately.
@sbc100 It looks like you approved this; is this ready to land?
Merged!
The background here is that when WASI was first designed, we were unsure how to handle modes. There are many different ways of using Wasm, some for which host permissions...
The reason for this is that the underying platform APIs don't have such a function. There is no way to atomically obtain a directory handle to a newly-created directory on...
Thanks. We still can't do it on Unix though. It's also worth mentioning that cap-std is following std here, where [create_dir](https://doc.rust-lang.org/stable/std/fs/fn.create_dir.html) similarly does not return a handle, presumably for the...