Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*.dll
*.so
*.dylib
*.wasm

# Test binary, built with `go test -c`
*.test
Expand All @@ -24,3 +25,9 @@ go.work.sum
# env file
.env
.envrc

# Junk
.DS_Store

# Go
gen/
2 changes: 2 additions & 0 deletions examples/component/http-client/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
gen/*
build/*
11 changes: 4 additions & 7 deletions examples/component/http-client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,6 @@ The application...

## 📦 Dependencies

> [!WARNING]
> Due to incompatibilities introduced in `wasm-tools` v1.226.0, a version of
> `wasm-tools` <= 1.225.0 is **required** for running this example.
>
> You can install `wasm-tools` [v1.225.0 from upstream releases](https://github.com/bytecodealliance/wasm-tools/releases/tag/v1.225.0), or use
> `cargo` ([Rust toolchain](https://doc.rust-lang.org/cargo/getting-started/installation.html)) -- (i.e. `cargo install --locked wasm-tools@1.225.0`)

Before starting, ensure that you have the following installed in addition to the Go (1.23+) toolchain:

- [`tinygo`](https://tinygo.org/getting-started/install/) for compiling Go (always use the latest version)
Expand Down Expand Up @@ -97,6 +90,10 @@ You can stop the `wash dev` process with `Ctrl-C`.

## ⚠️ Issues/FAQ

### Build errors

New releases of `wasm-tools` may introduce compatibility issues that can result in build errors. If you encounter issues, try using v1.225.0, which is currently the most consistent for Go builds. You can install `wasm-tools` [v1.225.0 from upstream releases](https://github.com/bytecodealliance/wasm-tools/releases/tag/v1.225.0), or use `cargo` ([Rust toolchain](https://doc.rust-lang.org/cargo/getting-started/installation.html)) -- (i.e. `cargo install --locked wasm-tools@1.225.0`)

### `curl` produces a "failed to invoke" error

If `curl`ing produces...
Expand Down
Loading
Loading