aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/Make-lang.in
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-05-15 15:23:50 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 18:46:25 +0100
commit1f4660d5dba3a6e02aec5f95e8ec7b223ebb9730 (patch)
tree7fc8ec745066fc853160ea58f28c12293060e96c /gcc/rust/Make-lang.in
parent4ca2f2030048e0a0121a32ad218c0e3f7a327191 (diff)
downloadgcc-1f4660d5dba3a6e02aec5f95e8ec7b223ebb9730.zip
gcc-1f4660d5dba3a6e02aec5f95e8ec7b223ebb9730.tar.gz
gcc-1f4660d5dba3a6e02aec5f95e8ec7b223ebb9730.tar.bz2
gccrs: expand: Add procmacro loading function
Add a function to load a shared object procmacro and retrieve the list of available procedural macros. gcc/rust/ChangeLog: * Make-lang.in: Add rust-proc-macro object to list. * expand/rust-proc-macro.cc: New file. * expand/rust-proc-macro.h: New file. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/Make-lang.in')
-rw-r--r--gcc/rust/Make-lang.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rust/Make-lang.in b/gcc/rust/Make-lang.in
index 03a92ac..2f18079 100644
--- a/gcc/rust/Make-lang.in
+++ b/gcc/rust/Make-lang.in
@@ -91,6 +91,7 @@ GRS_OBJS = \
rust/rust-derive.o \
rust/rust-derive-clone.o \
rust/rust-derive-copy.o \
+ rust/rust-proc-macro.o \
rust/rust-macro-invoc-lexer.o \
rust/rust-macro-substitute-ctx.o \
rust/rust-macro-builtins.o \