aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.cc
diff options
context:
space:
mode:
authorNobel Singh <nobel2073@gmail.com>2024-01-19 20:51:34 +0545
committerArthur Cohen <arthur.cohen@embecosm.com>2024-02-07 12:40:22 +0100
commit60f8171f5c8c7eec6c3441f735735f31cea2e1d1 (patch)
treea13cd41b0277ff34390cf40611b700a000b072c2 /gcc/gcc.cc
parent99fccb3eee81b3593bc5e538b4ba17dff6724c05 (diff)
downloadgcc-60f8171f5c8c7eec6c3441f735735f31cea2e1d1.zip
gcc-60f8171f5c8c7eec6c3441f735735f31cea2e1d1.tar.gz
gcc-60f8171f5c8c7eec6c3441f735735f31cea2e1d1.tar.bz2
gccrs: Set the default ABI to C for extern blocks and extern functions
Previously, the default ABI was set to Rust, which is not correct for extern blocks and extern functions. This patch changes the default ABI to C for these cases. gcc/rust/ChangeLog: * hir/rust-ast-lower-base.cc (ASTLoweringBase::lower_qualifiers): Change default ABI to C for extern functions (ASTLoweringBase::lower_extern_block): Likewise Signed-off-by: Nobel Singh <nobel2073@gmail.com>
Diffstat (limited to 'gcc/gcc.cc')
0 files changed, 0 insertions, 0 deletions