projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f49e252
)
gccrs: Add ABI mappings for rust-call to map to ABI::RUST
author
Philip Herron
<philip.herron@embecosm.com>
Wed, 12 Oct 2022 11:26:24 +0000
(12:26 +0100)
committer
Arthur Cohen
<arthur.cohen@embecosm.com>
Tue, 21 Feb 2023 11:36:33 +0000
(12:36 +0100)
gcc/rust/ChangeLog:
* util/rust-abi.cc (get_abi_from_string): Add missing "rust-call"
possibility for ABI variant.
gcc/rust/util/rust-abi.cc
patch
|
blob
|
history
diff --git
a/gcc/rust/util/rust-abi.cc
b/gcc/rust/util/rust-abi.cc
index
6477c37
..
36abb21
100644
(file)
--- 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)