create-makepad-app/packages/cli/fragments/fragment-counter/src/main.rs.lts

6 lines
257 B
Plaintext

// this stub is necessary because some platforms require building
// as dll (mobile / wasm) and some require to be built as executable
// unfortunately cargo doesn't facilitate this without a main.rs stub
fn main(){
{% package_name %}::app::app_main()
}