⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Conversation

@madsmtm
Copy link
Member

@madsmtm madsmtm commented Jan 13, 2026

  • Use console_error_panic_hook to actually know the error.
  • Use tracing::* instead of println!/eprintln!, along with tracing, to get the information in the console.
  • Don't try to compile criterion (alloca is difficult to build).

@madsmtm madsmtm added the DS - Web WebAssembly / WASM backend label Jan 13, 2026
@madsmtm madsmtm force-pushed the madsmtm/web-niceties branch from f738a7e to 2447d93 Compare January 13, 2026 20:29
@madsmtm madsmtm added the documentation Improvements or additions to documentation label Jan 13, 2026
@madsmtm madsmtm force-pushed the madsmtm/web-niceties branch from 2447d93 to 5446c8b Compare January 13, 2026 20:32
WASM, iOS and Redox do not support `run_on_demand`, and compiling
criterion on WASM can be troublesome.
println! and eprintln! are no-ops on WASM.
@madsmtm madsmtm force-pushed the madsmtm/web-niceties branch from 5446c8b to 09f9444 Compare January 13, 2026 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation DS - Web WebAssembly / WASM backend

Development

Successfully merging this pull request may close these issues.

2 participants