mirror of
https://github.com/loro-dev/loro.git
synced 2024-11-24 04:09:42 +00:00
0660b1a1be
* fix: upgrade wasm-bindgen to fix str free err * chore: fix ci
868 B
868 B
Contributing Guide
Development Environment Setup
- Rust: Install from the official Rust website.
- Deno: Download and install from Deno's website.
- Node: Install from the Node.js website.
- pnpm: Run
npm i -g pnpm
for global installation. - Rust Target: Add with
rustup target add wasm32-unknown-unknown
. - wasm-bindgen-cli: Install version 0.2.92 via
cargo install wasm-bindgen-cli --version 0.2.92
. - wasm-opt: Install using
cargo install wasm-opt --locked
. - wasm-snip: Install using
cargo install wasm-snip
. - cargo-nextest: Install using
cargo install cargo-nextest --locked
. - cargo-fuzz: Run
cargo install cargo-fuzz
. - cargo-llvm-cov(to generate coverage report): Run
cargo install cargo-llvm-cov
Test
deno task test
# Build and test WASM
deno task test-wasm