This looks promising, thank you for the help on the windows side! Our focus is usually to target Linux so we often miss things.
It might be useful to add windows only lit tests that would run using the linked stdlib.
i'll create that as an issue that we could tackle later (or you can if you are up for it)
For context, the lit tests are end to end tests, we use them to test that the compiler woks as a standalone bin and the binaries it generates execute correctly.
It's currently very linux specific.
Originally posted by @ghaith in #1566 (comment)