aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/hir
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-09-04 13:22:21 +0200
committerPhilip Herron <philip.herron@embecosm.com>2023-10-31 11:39:08 +0000
commitff32f8fdcef87ef569fd072ee12c47237e8da2e7 (patch)
tree0344d2319518d2677a8ba3db9301e213a953565c /gcc/rust/hir
parent2a1a37344f0db01900e73f05fca71cdcf7a559c2 (diff)
downloadgcc-ff32f8fdcef87ef569fd072ee12c47237e8da2e7.zip
gcc-ff32f8fdcef87ef569fd072ee12c47237e8da2e7.tar.gz
gcc-ff32f8fdcef87ef569fd072ee12c47237e8da2e7.tar.bz2
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/hir')
0 files changed, 0 insertions, 0 deletions