Open Trame0 opened 1 year ago
The screenshot doesn't show, so perhaps you could (re) share the output and/or error you got?
The screenshot doesn't show, so perhaps you could (re) share the output and/or error you got?
I did not wait for the download apparently, fixed
๐ Bug description
Sceenshot
![Screenshot_20230804-013420_Termux](https://github.com/rustwasm/wasm-pack/assets/124529313/27d79d5a-be99-4d42-9707-8c5d299de3e2)
Notes
I tried to change jobs in the cargo configuration from 8 (logical CPUs) to 1, because when compiling, my phone lags, I thought the problem was stability. Lags are eliminated, but it didnโt help
Then I tried just wasm-bingen, it works fine
๐ค Expected Behavior
I wanted the command to work
๐ Steps to reproduce
[wasm_bindgen]
extern { fn alert(s: &str); }
[wasm_bindgen]
pub fn greet(name: &str) { alert(&format!("Hello, {}!", name)); }