You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently rustc generates WinMain function with cdecl calling convention (src/librustc/middle/trans/base.rs), but Win32 API docs say stdcall is right.
Linker works because we actually export it as "WinMain@16", but I think it's a hack and should be fixed.