aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/Make-lang.in
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-09-04 13:22:21 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 19:09:30 +0100
commitce7688d7b0c0b4940adb2b08908df5b2b0ca702e (patch)
treec1070193ff133fced657dfc2d83c5495553240fe /gcc/rust/Make-lang.in
parent32dcd3ec99186a3fe6c01d36029a519a6cd6e109 (diff)
downloadgcc-ce7688d7b0c0b4940adb2b08908df5b2b0ca702e.zip
gcc-ce7688d7b0c0b4940adb2b08908df5b2b0ca702e.tar.gz
gcc-ce7688d7b0c0b4940adb2b08908df5b2b0ca702e.tar.bz2
gccrs: Make proc macro definition cdecl
We need to make sure proc macros have the C abi in order to be called by the compiler with dlopen. gcc/rust/ChangeLog: * backend/rust-compile-base.cc (HIRCompileBase::setup_fndecl): Add proc macro handlers dispatch. (handle_proc_macro_common): Add a function for common behavior between all kinds of proc macros. * backend/rust-compile-base.h: Add function prototypes. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/Make-lang.in')
0 files changed, 0 insertions, 0 deletions