Commit a113661
committed
fix: build errors for WASI target
* The `cargo build` command failed for the WASI target with the
following error:
```
warning: /home/dennis/code/mcp/rust-sdk/crates/rmcp/Cargo.toml: unused manifest key: dependencies.rmcp-macros.version
warning: /home/dennis/code/mcp/rust-sdk/examples/simple-chat-client/Cargo.toml: unused manifest key: dependencies.rmcp.no-default-features
error: There are multiple `wasi` packages in your project, and the specification `wasi` is ambiguous.
Please re-run this command with one of the following specifications:
[email protected]
[email protected]+wasi-0.2.4
```
It seems that the command got confused about the package name when
trying to build on a fresh machine. The solution for this is the
renaming of the package.
* The commands in the documentation are changed accordingly.
* Enhance also the documentation a little bit.1 parent 57e14c5 commit a113661
2 files changed
+16
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | 1 | | |
4 | | - | |
| 2 | + | |
5 | 3 | | |
6 | 4 | | |
7 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
1 | 5 | | |
2 | | - | |
3 | | - | |
| 6 | + | |
4 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
0 commit comments