build: move `generate-wasm-exports-lists to xtask
This commit is contained in:
parent
c8cf75fd30
commit
c7d6fd7fa5
3 changed files with 57 additions and 9 deletions
|
|
@ -1,8 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
while read -r wasm_file; do
|
||||
wasm-objdump --details "$wasm_file" --section Import | \
|
||||
sed -n 's/.*<env\.\([A-Za-z0-9_]*\)>.*/\1/p'
|
||||
done < <(find target -maxdepth 2 -name 'tree-sitter-*.wasm') | sort -u
|
||||
Loading…
Add table
Add a link
Reference in a new issue