Commit Graph

11 Commits

Author SHA1 Message Date
qtfkwk 94830e10a2
Update README.md
Fix typo

Signed-off-by: qtfkwk <qtfkwk@users.noreply.github.com>
2023-05-12 12:21:10 -04:00
Brian H 164e0a4b50
chore: update examples and templates to spin_manifest_version
Signed-off-by: Brian H <brian.hardock@fermyon.com>
2023-03-08 12:06:03 -05:00
Konstantin Shabanov 0f8c025969
chore: Update wagi examples
- Update spin-wagi-http Cargo.lock
- Add build command into wagi-http-rust

Signed-off-by: Konstantin Shabanov <mail@etehtsea.me>
2022-11-29 13:29:30 +06:00
Lann Martin 95add0b160
Bump `wasmtime` to 0.39.1
- Bump `wit-bindgen` to a compatible revision
- Update docs
- Remove unnecessary wasmtime::Config options

Signed-off-by: Lann Martin <lann.martin@fermyon.com>
2022-08-25 11:15:09 -04:00
Joel Dice 9bd4a488b0
chore!: update `wasmtime` and `wit-bindgen` dependencies
`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>
2022-06-15 15:17:42 -06:00
Lann fcb88ae637
Remove version constraint from spin-sdk in examples (#497)
* Remove version constraint from spin-sdk in examples
* Update examples' Cargo.locks

Signed-off-by: Lann Martin <lann.martin@fermyon.com>
2022-05-16 11:07:58 -04:00
Radu Matei 892a239365
feat: add `spin build` command
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>
2022-04-27 00:06:10 +03:00
Matthew Fisher 3ac82b8962
standardize on "Hello, Fermyon!"
Signed-off-by: Matthew Fisher <matt.fisher@fermyon.com>
2022-04-01 09:27:09 -07:00
Radu Matei 07026dc2d9
docs: address initial feedback
Signed-off-by: Radu Matei <radu.matei@fermyon.com>
2022-03-24 05:55:39 +02:00
Lann Martin 8250dec96a
Update wit-bindgen
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.
2022-03-21 09:41:08 -04:00
Michelle Dhanani bae5268d91
docs(*): add spin and wagi combo example
Signed-off-by: Michelle Dhanani <michelle@fermyon.com>
2022-03-10 16:43:16 -05:00