The thing is I'm unsure if C itself needs any particular set up on Windows. I know mainCRTStartup
sets up the arguments for main
but Rust doesn't use them. I'm assuming it also does something to run (or set to run) global static constructors which is where I think there could be a problem but I'm unsure of the implementation.