The preview registry (https://preview-registry.bytecodealliance.org) now has WASI preview 2 packages available as version 0.2.0-rc
.
Note that due to the prerelease -rc
label, to use these packages from cargo component
, one needs to explicitly give the version in commands such as cargo component new --reactor --target wasi:http/proxy@0.2.0-rc --registry https://preview-registry.bytecodealliance.org myproxy
or cargo component add --target wasi:http@0.2.0-rc
(a minor correction to the wasi:http
package is that is has a version 0.2.0-rc2
that is identical to 0.2.0-rc
, except it contains a corrected regsistry-metadata
section)
^ @Timmy Silesmo those packages should all have registry metadata in them as I used https://github.com/bytecodealliance/cargo-component/pull/132 to publish them
Sweet, I will take a look in a bit
Also, the packages were published from https://github.com/peterhuene/wasi using the wit
tool
This is awesome!
Yup seems to work perfectly @Peter Huene :smile:
Hello I'm happy to share that WASM Analyzer is now up and running. It allows you to inspect wasm files by uploading them (it's only client side so no wasm files are ever stored or sent to a server) or by exploring and inspecting components on the WARG registry: https://wa2.dev/
Give it a try and share any feedback you might have. We are working on publishing it open-source in the coming days.
Documentation will soon be published as well.
Last updated: Nov 22 2024 at 16:03 UTC