Windows: Does Rust need the x86/x64 C runtime to be initalized?

I'm investigating how Rust compiles/links on Windows and how or if the experience could be improved. As part of that I've looking into, for example, how Rust handles imported dll functions and wondering to what extent Rust depends on the Windows C startup routine.

Sure, the ultimate answers may all end up being "keep doing what Rust currently does" but I'd at least like to understand why instead of simply assuming everything has to be the way it is.

I'm definitely not advocating Rust changes anything at this point.

1 Like