diff options
author | Philip Herron <philip.herron@embecosm.com> | 2022-07-06 21:24:02 +0100 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2022-07-06 21:39:38 +0100 |
commit | d99b68560c0de90f1e3b23bdf08f9c01e190534a (patch) | |
tree | 7523f0ae6c86a35d05452e8536c399a14fcd1019 /gcc | |
parent | 29d594e263f0ccbcbd2babf43ff453c5188f4f2c (diff) | |
download | gcc-d99b68560c0de90f1e3b23bdf08f9c01e190534a.zip gcc-d99b68560c0de90f1e3b23bdf08f9c01e190534a.tar.gz gcc-d99b68560c0de90f1e3b23bdf08f9c01e190534a.tar.bz2 |
Fix bad ABI from string method causing all rust abi to become C abi
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/rust/util/rust-abi.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/util/rust-abi.cc b/gcc/rust/util/rust-abi.cc index c27e382..4739887 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) |