Skip to content

Commit

Permalink
docs: added note on wasm compilation with clang to README
Browse files Browse the repository at this point in the history
  • Loading branch information
heeckhau committed Jan 18, 2024
1 parent a401d78 commit 809da69
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,11 @@ npm install tlsn-js

## Development

> [!IMPORTANT]
> **Note on Rust-to-WASM Compilation**: This project requires compiling Rust into WASM, which needs [`clang`](https://clang.llvm.org/) version 16.0.0 or newer. MacOS users, be aware that Xcode's default `clang` might be older. If you encounter the error `No available targets are compatible with triple "wasm32-unknown-unknown"`, it's likely due to an outdated `clang`. Updating `clang` to a newer version should resolve this issue.
```
# make sure you have rust install
# make sure you have rust installed
# https://www.rust-lang.org/tools/install
npm install
Expand Down

0 comments on commit 809da69

Please sign in to comment.