Skip to content

Commit

Permalink
chore: improve readme (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
riverKanies authored Feb 20, 2025
1 parent 86edef4 commit f25861e
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,18 @@ AR = "/opt/homebrew/opt/llvm/bin/llvm-ar"
CC = "/opt/homebrew/opt/llvm/bin/clang"
```

Additionally, if you're using rust-analyzer in VSCode, you'll want to add the following to your `.vscode/settings.json` file:

```json
{
"rust-analyzer.server.extraEnv": {
"AR": "/opt/homebrew/opt/llvm/bin/llvm-ar",
"CC": "/opt/homebrew/opt/llvm/bin/clang"
},
"rust-analyzer.cargo.target": "wasm32-unknown-unknown"
}
```

### Build with `wasm-pack build`

```sh
Expand All @@ -105,7 +117,7 @@ wasm-pack build
wasm-pack test --headless --firefox
```

> Works with `--firefox`, `--chrome` or `safari`.
> Works with `--firefox`, `--chrome` or `--safari`.
## License

Expand Down

0 comments on commit f25861e

Please sign in to comment.