Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How do you debug rust code that has been compiled to we assembly?


Source maps I suppose.


They still don't work very well if you use wasm-bindgen: https://github.com/rustwasm/wasm-bindgen/issues/2389 (consider voting for it).

P.S. It's very hard to work without wasm-bindgen, since you have to wrap browser API manually otherwise.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: