# cbe: more msvc compatibility work · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/7fb3683c32fc24d12452f49e0c1639531e57c47d)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 7fb3683c32fc24d12452f49e0c1639531e57c47d

Requested commit: 7fb3683c32fc24d12452f49e0c1639531e57c47d

Commit: 7fb3683c32fc24d12452f49e0c1639531e57c47d

Tree: 0b9e38fd34be870ba2eb1e50147a58ec81709fd5

Author: kcbanner

Committer: kcbanner

## Message

```
cbe: more msvc compatibility work

- Add .StaticInitializer to ValueRenderLocation to indicate that the emitted values
must be constant expressions (no function calls, struct casting).
- Add new path for special float types (nan, inf) that works in constant expressions
- Implement windows.teb() using a syscall for .stage2_c because x64 MSVC
doesn't support any kind of inline asm

```

## Parents

- [7f3bc45772d6af33e0e663ba534eba5653792843](https://git.cafe/gitcafe/zig/commit/7f3bc45772d6af33e0e663ba534eba5653792843?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/7fb3683c32fc24d12452f49e0c1639531e57c47d?format=markdown)
