aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/Make-lang.in
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-09-04 14:23:10 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 19:09:30 +0100
commit193b0780d55c6ee93cb4a677e6bacf8c1da87021 (patch)
tree932e42d35f232de335c4eff725cb3614720af10e /gcc/rust/Make-lang.in
parentce7688d7b0c0b4940adb2b08908df5b2b0ca702e (diff)
downloadgcc-193b0780d55c6ee93cb4a677e6bacf8c1da87021.zip
gcc-193b0780d55c6ee93cb4a677e6bacf8c1da87021.tar.gz
gcc-193b0780d55c6ee93cb4a677e6bacf8c1da87021.tar.bz2
gccrs: Change ABI setup and add gccrs_proc_macro attr
Change the way the ABI is setup on a function to avoid duplicates. ABI is setup by the setup function only now. Add a new attribute to the function "gccrs_proc_macro" in order to differentiate it from another type of function. gcc/rust/ChangeLog: * backend/rust-compile-base.cc (handle_proc_macro_common): Add new attribute "gccrs_proc_macro" to all procedural macro functions. (get_abi): Add a function to retrieve the correct ABI depending on wether the function is a proc macro or not. 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