pub(crate) fn main()
Expand description
Main entry point for the Mirador game application.
This function initializes the application, sets up the event loop, and starts the game. It handles different compilation targets (native vs WASM) and optional memory profiling.
§Features
- Memory profiling with dhat-heap feature
- Cross-platform compatibility (native and WASM targets)
- Graceful error handling for event loop creation
§Panics
- If the event loop cannot be created
- If the application fails to run