plat/win.rs (Windows)#
Source: lib/plat/win.rs
win -- Windows platform: entry, time, arguments, UTF-16 (files, environment: win_sys.rs;
threads, wake-up: win_thread.rs; the user32/gdi32 windows: win_api.rs)
[src/plat/win/plat_win.s]
extern "system" fn mainCRTStartup() -> !fn std_start() -> !(feature std) the start of a program with std, from itsfn main(rt::main!, ui::main! or the program's own): what mainCRTStartup does without std, with rt's panic hook first and the end through std::process::exit; with the feature unwind a panic that leaves the app ends it therefn time_us() -> u64fn sleep_ms(ms: u32)fn to_wide(s: &str) -> Vec<u16>fn from_wide(w: &[u16]) -> Stringfn args() -> Vec<String>