gccrs: Add Rust ABI enum helpers
authorPhilip Herron <philip.herron@embecosm.com>
Tue, 23 Aug 2022 15:23:22 +0000 (16:23 +0100)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 13 Dec 2022 13:00:05 +0000 (14:00 +0100)
commit15b0278905ed80413867ad78868a597dd7227170
tree27350d5601c64882c651aad4e72934f6ce90c635
parentc7f8347e83caf8a66fb71e411415ae869c6e6a5c
gccrs: Add Rust ABI enum helpers

This is a simple helper over an enum of possible ABI options in Rust.

gcc/rust/
* util/rust-abi.cc: New.
* util/rust-abi.h: New.
gcc/rust/util/rust-abi.cc [new file with mode: 0644]
gcc/rust/util/rust-abi.h [new file with mode: 0644]