about summary refs log tree commit diff
path: root/compiler/rustc_parse/src
diff options
context:
space:
mode:
authorNoratrieb <48135649+Noratrieb@users.noreply.github.com>2025-03-16 21:32:41 +0100
committerNoratrieb <48135649+Noratrieb@users.noreply.github.com>2025-03-16 21:32:41 +0100
commitf20a6c70fb7a1b9bf1b855e6d1e711c1afd6bb48 (patch)
tree800ced2a3d370f529b4e7d38c9911c67008ff13c /compiler/rustc_parse/src
parent81d8edc2000aa38b08ad09fce22d90f1990b6459 (diff)
downloadrust-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