[−][src]Function wasm_pack::bindgen::install_wasm_bindgen
pub fn install_wasm_bindgen(
cache: &Cache,
version: &str,
install_permitted: bool,
step: &Step
) -> Result<Download, Error>
Install the wasm-bindgen
CLI.
Prefers an existing local install, if any exists. Then checks if there is a
global install on $PATH
that fits the bill. Then attempts to download a
tarball from the GitHub releases page, if this target has prebuilt
binaries. Finally, falls back to cargo install
.