Skip to content

Commit

Permalink
fix compile option
Browse files Browse the repository at this point in the history
  • Loading branch information
taisukef committed Oct 23, 2022
1 parent 863eaed commit f1695c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/tutorials/rust-workers.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ In this example, the worker will get a request and print all the related informa
```bash
# Install the component and build
rustup target add wasm32-wasi && \
cargo build release
cargo build --release --target wasm32-wasi
```

1. Run your worker with `wws`. If you didn't download the `wws` server yet, check our [Getting Started](../start.md) guide.
Expand Down Expand Up @@ -200,7 +200,7 @@ To add a KV store to your worker, follow these steps:
```bash
# Install the component and build
rustup target add wasm32-wasi && \
cargo build release
cargo build --release --target wasm32-wasi
```
1. Create a `worker-kv.toml` file with the following content. Note the name of the TOML file must match the name of the handler. In this case we have `worker-kv.wasm` and `worker-kv.toml` in the same folder (`target/wasm32-wasi/release`):
Expand Down

0 comments on commit f1695c9

Please sign in to comment.