Skip to content

Commit dc57f4c

Browse files
Merge #1137
1137: ast: lower: Split rust-lower-base in its own source file r=CohenArthur a=CohenArthur The implementation of all functions declared in `rust-ast-lower-base.h` was a big offender of our "definitions in headers" problem, spanning over 900 lines of code. We can do the same for basically all headers in `gcc/rust/hir` which all contain some definitions that have accumulated over time Co-authored-by: Arthur Cohen <arthur.cohen@embecosm.com>
2 parents f6e244d + 038677d commit dc57f4c

File tree

4 files changed

+1067
-546
lines changed

4 files changed

+1067
-546
lines changed

gcc/rust/Make-lang.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ GRS_OBJS = \
8383
rust/rust-attributes.o \
8484
rust/rust-abi.o \
8585
rust/rust-ast-lower.o \
86+
rust/rust-ast-lower-base.o \
8687
rust/rust-ast-lower-pattern.o \
8788
rust/rust-ast-resolve.o \
8889
rust/rust-ast-resolve-pattern.o \

0 commit comments

Comments
 (0)