rylev opened issue #8187:
When adding
wasi
orwasi-http
support to a linker through the variousadd_to_linker
functions, I was unaware that there was async
module that offered the same functionality without requiring async instantiation. It is not obvious to me why the async flavor would be the default especially forwasi
(one could argue that forwasi-http
it does make sense forasync
to be the default). While it's more typing perhaps putting theasync
variant in its own module and requiring the user to explicitly selectasync
orsync
would make the API more intuitive.
alexcrichton closed issue #8187:
When adding
wasi
orwasi-http
support to a linker through the variousadd_to_linker
functions, I was unaware that there was async
module that offered the same functionality without requiring async instantiation. It is not obvious to me why the async flavor would be the default especially forwasi
(one could argue that forwasi-http
it does make sense forasync
to be the default). While it's more typing perhaps putting theasync
variant in its own module and requiring the user to explicitly selectasync
orsync
would make the API more intuitive.
Last updated: Nov 22 2024 at 17:03 UTC