Open utterances-bot opened 1 year ago
Hi Thorsten. Thanks for the great article on building Spin plugins. I just have a quick question, Is reqwest
working with wasi
target? I have checked your GitHub code, but there is no reqwest
used there.
spin
SDK provides capabilities to issue outbound HTTP requests. So when your question is related to spin
, you should go that direction.
The plugin shown here is not compiled down to the wasi
target as plugins are invoked on the developer's machine (typically either amd64
or arm64
)
Haven't checked if reqwest
can be compiled to wasm32-wasi
A comprehensive guide on authoring plugins for Fermyon Spin · Thorsten Hans' blog
Learn and understand how you can build plugins for Fermyon Spin by exploring the check-for-update plugin.
https://www.thorsten-hans.com/comprehensive-guide-on-authoring-plugins-for-fermyon-spin/