about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorChris Copeland <chris@chrisnc.net>2023-07-17 22:13:15 -0700
committerChris Copeland <chris@chrisnc.net>2023-07-23 20:19:38 -0700
commit8e54caba04bbb040b2221da2bbaa6d11655f09f5 (patch)
tree608a68960366c641b233019b971fe7f1f5c7f608 /compiler/rustc_codegen_gcc
parentef8994827e4075e3b0d69b71f96fe07cf3d0f881 (diff)
downloadrust-8e54caba04bbb040b2221da2bbaa6d11655f09f5.tar.gz
rust-8e54caba04bbb040b2221da2bbaa6d11655f09f5.zip
Fix comments about GCC/Clang's enum width for arm-none targets.
GCC uses the `-fshort-enums` ABI for arm-none and the `int`-sized enum
ABI for arm-linux.
Clang uses the `int`-sized enum ABI for all arm targets.

Both options are permitted by AAPCS.

Rust is matching GCC's behavior for these targets, as interop with code
code compiled by GCC is desirable in the bare-metal context. See #87917.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions