public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/rust/master] Add ABI mappings for rust-call to map to ABI::RUST
@ 2022-10-14  7:08 Thomas Schwinge
  0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2022-10-14  7:08 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:0a9a3e826faa319a5c0e6d4ca273db2b735a6beb

commit 0a9a3e826faa319a5c0e6d4ca273db2b735a6beb
Author: Philip Herron <philip.herron@embecosm.com>
Date:   Wed Oct 12 12:26:24 2022 +0100

    Add ABI mappings for rust-call to map to ABI::RUST

Diff:
---
 gcc/rust/util/rust-abi.cc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gcc/rust/util/rust-abi.cc b/gcc/rust/util/rust-abi.cc
index 6477c3790af..36abb21520d 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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-10-14  7:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-14  7:08 [gcc/devel/rust/master] Add ABI mappings for rust-call to map to ABI::RUST Thomas Schwinge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).