`wasmtime` 0.35.3 is, as of this writing, the most recent version of `wasmtime`
that supports module linking. Later versions have removed module linking in
favor of the component model, but the component model work is still in progress,
so we can't upgrade to the very latest until that work is complete.
BREAKING CHANGE: This also updates `wit-bindgen` to a snapshot of the main
branch as of June 13th. Known breaking changes from that update include:
- breaking ABI changes -- you'll need to rebuild modules using a matching
`wit-bindgen`
- "function" has been renamed to "func" in WIT files
- pull- and push-buffer support has been removed
Due to the latter, I've removed `crates/object-store` from this repo
temporarily. We can add it back in once stream support has been implemented in
`wit-bindgen`.
Note that I've regenerated the Go SDK using the new `wit-bindgen`.
Signed-off-by: Joel Dice <joel.dice@fermyon.com>
This commit adds a new top level Spin command that simplifies building more
complex applications. Specifically, this command will execute the build commands
set in each local component configuration:
```toml
[component.build]
command = "cargo build --target wasm32-wasi --release --manifest-path http-rust/Cargo.toml"
```
The build commands for all components in the local application manifest are
currently run sequentially (running multiple resource-intensive compilation processes
concurrently does not seem to be the most efficient choice currently).
Optionally, after all compilation processes are finished, if the `--up` flag is
passed, the application can be started without calling `spin up`.
This means that the entire developer "inner loop" for working on a Spin application
can be `spin build --up`.
Signed-off-by: Radu Matei <radu.matei@fermyon.com>
feat
Signed-off-by: Radu Matei <radu.matei@fermyon.com>
feat
Signed-off-by: Radu Matei <radu.matei@fermyon.com>
Not much exciting in the log except for bytecodealliance/wit-bindgen#167
which forces wit-bindgen macro path resolution to be crate-relative.
Updated a couple of macro invocations to work with this change.