aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/Make-lang.in
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2023-05-26 13:37:13 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 18:46:23 +0100
commite16397e9963212d8c47fd0cd51544ba373e32172 (patch)
tree5d4f3f554dd130f4c6448ee56521806f5ce8e16d /gcc/rust/Make-lang.in
parent525e987ae8d2245c2bdd25a2cafd07e8f4bbe0ec (diff)
downloadgcc-e16397e9963212d8c47fd0cd51544ba373e32172.zip
gcc-e16397e9963212d8c47fd0cd51544ba373e32172.tar.gz
gcc-e16397e9963212d8c47fd0cd51544ba373e32172.tar.bz2
gccrs: derive: Add #[derive(Copy)] builtin
gcc/rust/ChangeLog: * Make-lang.in: Add new files. * expand/rust-derive.cc (DeriveVisitor::derive): Call into DeriveCopy. * expand/rust-derive-copy.cc: New file. * expand/rust-derive-copy.h: New file.
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 e708ac3..771c75f 100644
--- a/gcc/rust/Make-lang.in
+++ b/gcc/rust/Make-lang.in
@@ -90,6 +90,7 @@ GRS_OBJS = \
rust/rust-ast-builder.o \
rust/rust-derive.o \
rust/rust-derive-clone.o \
+ rust/rust-derive-copy.o \
rust/rust-macro-invoc-lexer.o \
rust/rust-macro-substitute-ctx.o \
rust/rust-macro-builtins.o \