Attribute Macro ambient_api::main
#[main]
Expand description
Makes your main()
function accessible to the WASM host, and generates a
packages
module that contain all packages visible to your package, including itself.
If you do not add this attribute to your main()
function, your module will not run.