You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 13, 2023. It is now read-only.
* Update a few aspects of the adapter build
* Use the `wasm32-unknown-unknown` target for the adapter and specify
flags in `.cargo/config.toml` to avoid having to pass the same flags
everywhere. This allows using `wasm32-wasi` for tests to ensure the
flags only apply to the adapter.
* Use `opt-level=s` since speed is not of the utmost concern for this
wasm but since it's likely to be included in many places size is
likely more important.
* Use `strip = 'debuginfo'` for the release build to remove the standard
library's debugging information which isn't necessary.
* Remove `debug = 0` from the `dev` profile to have debugging
information for development.
* Add a small `README.md` describing what's here for now.
* Move `command` support behind a `command` feature
This commit adds a `command` feature to main crate to avoid importing
the `_start` function when the `command` feature is disabled, making
this adapter useful for non-command WASI programs as well.
For now this still emits the `command` export in the final component but
with `use` in `*.wit` files it should be easier to avoid that export.
0 commit comments