diff options
| author | Noratrieb <48135649+Noratrieb@users.noreply.github.com> | 2025-03-16 21:32:41 +0100 |
|---|---|---|
| committer | Noratrieb <48135649+Noratrieb@users.noreply.github.com> | 2025-03-16 21:32:41 +0100 |
| commit | f20a6c70fb7a1b9bf1b855e6d1e711c1afd6bb48 (patch) | |
| tree | 800ced2a3d370f529b4e7d38c9911c67008ff13c /compiler/rustc_parse/src | |
| parent | 81d8edc2000aa38b08ad09fce22d90f1990b6459 (diff) | |
| download | rust-f20a6c70fb7a1b9bf1b855e6d1e711c1afd6bb48.tar.gz rust-f20a6c70fb7a1b9bf1b855e6d1e711c1afd6bb48.zip | |
make `_Unwind_Action` a type alias, not enum
It's bitflags in practice, so an enum is unsound, as an enum must only have the described values. The x86_64 psABI declares it as a `typedef int _Unwind_Action`, which seems reasonable. I made a newtype first but that was more annoying than just a typedef. We don't really use this value for much other than a short check.
Diffstat (limited to 'compiler/rustc_parse/src')
0 files changed, 0 insertions, 0 deletions
