Skip to content

Commit de195be

Browse files
committed
docs: Add instructions for updating wasmtime
Signed-off-by: Ryan Northey <ryan@synca.io>
1 parent d73a024 commit de195be

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

bazel/cargo/wasmtime/README.md

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
2+
# Updating `wasmtime`
3+
4+
Projects depending upon `proxy-wasm-cpp-host` and `wasmtime` should
5+
ensure that the `wasmtime` dependency here is updated whenever updating
6+
`proxy-wasm-cpp-host`.
7+
8+
## Install `rust`
9+
10+
Ensure you have the latest version of rust.
11+
12+
```console
13+
$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
14+
$ rustup update
15+
```
16+
17+
## Install `cargo-raze`
18+
19+
```console
20+
$ cargo install cargo-raze --version 0.14.1.
21+
```
22+
23+
## Generate lockfile
24+
25+
```console
26+
$ cd bazel/cargo/wasmtime
27+
$ cargo raze --generate-lockfile
28+
$ cd ../..
29+
```
30+
31+
## Commit changes
32+
33+
```console
34+
$ git add bazel/cargo/wasmtime
35+
$ git commit ...
36+
```

0 commit comments

Comments
 (0)