Attribute Macro ambient_api::main
#[main]
Expand description
Makes your main()
function accessible to the WASM host, and generates components
and concept
modules for your project.
If you do not add this attribute to your main()
function, your module will not run.