loro/CONTRIBUTING.md
Zixuan Chen 0660b1a1be
fix: upgrade wasm-bindgen to fix str free err (#353)
* fix: upgrade wasm-bindgen to fix str free err

* chore: fix ci
2024-05-09 15:22:34 +08:00

868 B

Contributing Guide

Development Environment Setup

  1. Rust: Install from the official Rust website.
  2. Deno: Download and install from Deno's website.
  3. Node: Install from the Node.js website.
  4. pnpm: Run npm i -g pnpm for global installation.
  5. Rust Target: Add with rustup target add wasm32-unknown-unknown.
  6. wasm-bindgen-cli: Install version 0.2.92 via cargo install wasm-bindgen-cli --version 0.2.92.
  7. wasm-opt: Install using cargo install wasm-opt --locked.
  8. wasm-snip: Install using cargo install wasm-snip.
  9. cargo-nextest: Install using cargo install cargo-nextest --locked.
  10. cargo-fuzz: Run cargo install cargo-fuzz.
  11. 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