Pyrefly's WASM build is used in browser-based applications like the Pyrefly sandbox.
brew install llvm (source)sudo dnf install clangsudo apt install mercurialRun ./build.sh
Certain features that are allowed in the other builds are unavailable in the wasm build. You might errors like could not find \<>` in the crate root. This can be because we've excluded that package from the wasm build with #[cfg(not(target_arch = “wasm32”))]in thelib.rs/mod.rs` file.