diff options
author | Philip Herron <philip.herron@embecosm.com> | 2022-10-12 12:26:24 +0100 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2022-10-12 12:34:55 +0100 |
commit | 0a9a3e826faa319a5c0e6d4ca273db2b735a6beb (patch) | |
tree | 0e9ca4c937f2fa3e59f674681011241b909a90d1 /gcc | |
parent | 63d901e48f0429d9d203ab56ed0038e6ebfc0b03 (diff) | |
download | gcc-0a9a3e826faa319a5c0e6d4ca273db2b735a6beb.zip gcc-0a9a3e826faa319a5c0e6d4ca273db2b735a6beb.tar.gz gcc-0a9a3e826faa319a5c0e6d4ca273db2b735a6beb.tar.bz2 |
Add ABI mappings for rust-call to map to ABI::RUST
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/rust/util/rust-abi.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/rust/util/rust-abi.cc b/gcc/rust/util/rust-abi.cc index 6477c37..36abb21 100644 --- a/gcc/rust/util/rust-abi.cc +++ b/gcc/rust/util/rust-abi.cc @@ -23,6 +23,8 @@ get_abi_from_string (const std::string &abi) { if (abi.compare ("rust") == 0) return Rust::ABI::RUST; + else if (abi.compare ("rust-call") == 0) + return Rust::ABI::RUST; else if (abi.compare ("rust-intrinsic") == 0) return Rust::ABI::INTRINSIC; else if (abi.compare ("C") == 0) |