~starkingdoms/starkingdoms

ref: 103444e57478b2f702c26a6dfb9a62b34a60e5fe starkingdoms/crates/client/src/native/mod.rs -rw-r--r-- 415 bytes
103444e5 — core chore(wasm)!: fix compilations on webassembly 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pub mod assets;
pub mod websocket;

/// --- IMPORTANT: THIS IS A DUAL TARGET CRATE ---
/// THIS WILL ONLY EXECUTE ON NATIVE
/// DO ONLY PLATFORM SPECIFIC INITIALIZATION HERE
/// FOR ACTUAL PROGRAM LOGIC, EDIT `crate::start`
/// DO NOT RENAME
pub fn entrypoint() {
    tracing_subscriber::fmt::init();

    // All done with platform-specific initialization, call back into the common code path
    crate::start();
}