feat(xtask): bring wasi-sdk treatment up to par with the loader
The loader package's `ensure_wasi_sdk_exists` private method checks for the wasi-sdk, fetching it if it can't be found. This logic was re-implemented in xtask for `build-wasm-stdlib`, but without the fetching functionality. We can have nice things in xtask too! Rather than make this function a public member of `tree-sitter-loader`, we just re-implement and leave a nice comment asking people to keep the two in sync.
This commit is contained in:
parent
14b4708018
commit
df8b62fc50
5 changed files with 144 additions and 19 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
|
@ -2812,6 +2812,7 @@ dependencies = [
|
|||
"anyhow",
|
||||
"bindgen",
|
||||
"clap",
|
||||
"etcetera",
|
||||
"indoc",
|
||||
"notify",
|
||||
"notify-debouncer-full",
|
||||
|
|
@ -2820,6 +2821,7 @@ dependencies = [
|
|||
"semver",
|
||||
"serde_json",
|
||||
"tree-sitter-cli",
|
||||
"tree-sitter-loader",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue