wasm test failures do not contain error messages #62556
Labels
A-testsuite
Area: The testsuite used to check the correctness of rustc
C-bug
Category: This is a bug.
O-wasm
Target: WASM (WebAssembly), http://webassembly.org/
When our tests fail in bors on a wasm target, there is no error message except
RuntimeError: unreachable
(example). There is nothing to print the panic message to the console.I think this could be fixed by adding console_error_panic_hook as dependency somehow, but I'm not quite sure how to do this.
Here's an example project that sets up this dependency to run with a test: async-fn-size. Thanks to @Mark-Simulacrum for figuring this out!
The text was updated successfully, but these errors were encountered: