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

**URL:** <https://internals.rust-lang.org/t/windows-does-rust-need-the-x86-x64-c-runtime-to-be-initalized/11581>\
**Category:** Uncategorized\
**Created:** [January 6, 2020, 8:53pm UTC](https://internals.rust-lang.org/t/windows-does-rust-need-the-x86-x64-c-runtime-to-be-initalized/11581 "2020-01-06T20:53:16Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![chrisd](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/chrisd/32/7232_2.png) [@chrisd](https://internals.rust-lang.org/u/chrisd)\
**Post date:** [January 7, 2020, 4:57pm UTC](https://internals.rust-lang.org/t/windows-does-rust-need-the-x86-x64-c-runtime-to-be-initalized/11581/7 "2020-01-07T16:57:28Z")

</div>

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.

---

_[View the full topic](https://internals.rust-lang.org/t/windows-does-rust-need-the-x86-x64-c-runtime-to-be-initalized/11581)._
