use ewasm_api::prelude::*;
fn entry() {
let a: Hash = block_hash(1);
finish_data(&a.bytes);
}
ewasm_entry_point!(entry);
error[E0601]: main function not found in crate myrust
|
= note: consider adding a main function to src\main.rs
error: aborting due to previous error
For more information about this error, try rustc --explain E0601.