| Crates.io | ast-grep-wasm |
| lib.rs | ast-grep-wasm |
| version | 0.1.5 |
| created_at | 2022-09-06 05:10:38.63966+00 |
| updated_at | 2022-09-22 03:21:48.136217+00 |
| description | Search and Rewrite code at large scale using precise AST pattern |
| homepage | |
| repository | https://github.com/ast-grep/ast-grep |
| max_upload_size | |
| id | 659289 |
| size | 6,833 |
Unfortunately wasm-pack does not support compiling C dependency with stdlib.
We have to use emcc.
We have to use web-tree-sitter
~~
rustup target add wasm32-unknown-emscriptenhttps://github.com/MolotovCherry/tree-sitter-wasm https://github.com/rustwasm/wasm-pack/issues/741 https://stackoverflow.com/questions/67474533/error-in-compiling-rust-into-webassembly-using-emscripten-on-windows https://github.com/rustwasm/wasm-pack/blob/master/src/command/build.rs ~~