Skip to content

Commit

Permalink
Minor fixes for the README (#512)
Browse files Browse the repository at this point in the history
  • Loading branch information
surma committed Feb 17, 2023
1 parent f4e8002 commit 4625271
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ rustup target add wasm32-wasi
Projects can then depend on `wit-bindgen` by executing:

```sh
cargo add --git https://github.com/bytecodealliance/wit-bindgen wit-bindgen-guest-rust
cargo add --git https://github.com/bytecodealliance/wit-bindgen wit-bindgen
```

WIT files are currently added to a `wit/` folder adjacent to your `Cargo.toml`
Expand All @@ -197,7 +197,7 @@ file. Example code using this then looks like:

// Use a procedural macro to generate bindings for the world we specified in
// `host.wit`
wit_bindgen_guest_rust::generate!("host");
wit_bindgen::generate!("host");

// Define a custom type and implement the generated `Host` trait for it which
// represents implementing all the necesssary exported interfaces for this
Expand Down

0 comments on commit 4625271

Please sign in to comment.