Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tools/building.py
Original file line number Diff line number Diff line change
Expand Up @@ -1291,7 +1291,7 @@ def run_wasm_opt(infile, outfile=None, args=[], **kwargs): # noqa
def run_wasm_bindgen(infile):
bindgen_out_dir = os.path.join(get_emscripten_temp_dir(), 'bindgen_out')

wasm_bindgen_bin = shutil.which('wasm-bindgen')
wasm_bindgen_bin = shutil.which('wasm-bindgen') or shutil.which('wasm_bindgen')
if not wasm_bindgen_bin:
exit_with_error('wasm-bindgen executable not found in $PATH')
cmd = [
Expand Down