Open
Description
The console!
macro documentation says
If you want to print things to the console in a standardized way, use
println!
instead.
But when I use println!
, I don't get any output in the console.
All I've done is cargo new foobar
, add stdweb="0.4.20"
to my Cargo.toml
, and do cargo web start
, and all it ever says in console is
Finished loading Rust wasm module 'foobar'
I know it's otherwise working, though, because other code I put in there does stuff, like using stdweb::console!(log, "Hello World!");
instead of println!
prints to console just fine.
Metadata
Metadata
Assignees
Labels
No labels