I'm trying to view the WASM for a small #![no_std]
program in the Rust playground, but I can't seem to get it to work. Anybody have any ideas? It seems to work fine unless I do it #![no_std]
.
I keep getting this message:
Unable to locate file for WebAssembly output
#![no_std]
#![no_main]
#[panic_handler]
fn my_panic(_info: &core::panic::PanicInfo) -> ! {
loop {}
}
#[no_mangle]
static TEST: &str = "Hello world";