Skip to content

Commit 31376c6

Browse files
philbertyCohenArthur
authored andcommitted
gccrs: Add missing ABI mapping
gcc/rust/ChangeLog: * util/rust-abi.cc (get_abi_from_string): add ABI mapping Signed-off-by: Philip Herron <[email protected]>
1 parent 99ed358 commit 31376c6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

gcc/rust/util/rust-abi.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ get_abi_from_string (const std::string &abi)
2525
return Rust::ABI::RUST;
2626
else if (abi.compare ("rust-call") == 0)
2727
return Rust::ABI::RUST;
28+
else if (abi.compare ("Rust") == 0)
29+
return Rust::ABI::RUST;
2830
else if (abi.compare ("rust-intrinsic") == 0)
2931
return Rust::ABI::INTRINSIC;
3032
else if (abi.compare ("C") == 0)

0 commit comments

Comments
 (0)