diff options
| author | Jonathan Marler <johnnymarler@gmail.com> | 2025-06-17 19:42:13 -0600 |
|---|---|---|
| committer | Alex Rønne Petersen <alex@alexrp.com> | 2025-06-18 16:41:25 +0200 |
| commit | f3940ad858937cc4bb2e1b99828183e070f40bf9 (patch) | |
| tree | 57027c0969a7e78899873f29b19246ff514f8223 /src/Compilation/Config.zig | |
| parent | 850655f06b7dd8dc6e637d4980e6b7f9ac1b43d9 (diff) | |
| download | zig-f3940ad858937cc4bb2e1b99828183e070f40bf9.tar.gz zig-f3940ad858937cc4bb2e1b99828183e070f40bf9.zip | |
windows: MSVC: disable extra dubious Microsoft runtime checks
Cmake by default adds the `/RTC1` compiler flag for debug builds.
However, this causes C code that conforms to the C standard and has
well-defined behavior to trap. Here I've updated CMAKE to use the more
lenient `/RTCs` by default which removes the uninitialized variable checks
but keeps the stack error checks.
Diffstat (limited to 'src/Compilation/Config.zig')
0 files changed, 0 insertions, 0 deletions
