File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ rustup target add wasm32-wasi
186
186
Projects can then depend on ` wit-bindgen ` by executing:
187
187
188
188
``` sh
189
- cargo add --git https://github.com/bytecodealliance/wit-bindgen wit-bindgen-guest-rust
189
+ cargo add --git https://github.com/bytecodealliance/wit-bindgen wit-bindgen
190
190
```
191
191
192
192
WIT files are currently added to a ` wit/ ` folder adjacent to your ` Cargo.toml `
@@ -197,7 +197,7 @@ file. Example code using this then looks like:
197
197
198
198
// Use a procedural macro to generate bindings for the world we specified in
199
199
// `host.wit`
200
- wit_bindgen_guest_rust :: generate! (" host" );
200
+ wit_bindgen :: generate! (" host" );
201
201
202
202
// Define a custom type and implement the generated `Host` trait for it which
203
203
// represents implementing all the necesssary exported interfaces for this
You can’t perform that action at this time.
0 commit comments