public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/rust/master] Fix bad ABI from string method causing all rust abi to become C abi
@ 2022-07-07 11:35 Thomas Schwinge
0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2022-07-07 11:35 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:d99b68560c0de90f1e3b23bdf08f9c01e190534a
commit d99b68560c0de90f1e3b23bdf08f9c01e190534a
Author: Philip Herron <philip.herron@embecosm.com>
Date: Wed Jul 6 21:24:02 2022 +0100
Fix bad ABI from string method causing all rust abi to become C abi
Diff:
---
gcc/rust/util/rust-abi.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/rust/util/rust-abi.cc b/gcc/rust/util/rust-abi.cc
index c27e3820361..473988799d1 100644
--- a/gcc/rust/util/rust-abi.cc
+++ b/gcc/rust/util/rust-abi.cc
@@ -22,7 +22,7 @@ Rust::ABI
get_abi_from_string (const std::string &abi)
{
if (abi.compare ("rust") == 0)
- return Rust::ABI::C;
+ 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-07-07 11:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-07 11:35 [gcc/devel/rust/master] Fix bad ABI from string method causing all rust abi to become C abi 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).