# std: don't get CPU context when using CBE targeting MSVC · gitcafe/zig

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

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

Visibility: public

Requested revision: 084e92879a1732374fac5f1a05a27f42b9306d22

Requested commit: 084e92879a1732374fac5f1a05a27f42b9306d22

Commit: 084e92879a1732374fac5f1a05a27f42b9306d22

Tree: 59d416eec4b409c74aa2c0b95781e418d5cd2c7a

Author: mlugg

Committer: mlugg

## Message

```
std: don't get CPU context when using CBE targeting MSVC

Calling `current` here causes compilation failures as the C backend
currently does not emit valid MSVC inline assembly. This change means
that when building for MSVC with the self-hosted C backend, only FP
unwinding can be used.

```

## Parents

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

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