From: Marc Poulhiès <[email protected]>
gcc/rust/ChangeLog:
* Make-lang.in (GRS_OBJS): Remove rust-macro.o.
* ast/rust-macro.cc: Removed.
Signed-off-by: Marc Poulhiès <[email protected]>
---
gcc/rust/Make-lang.in | 1 -
gcc/rust/ast/rust-macro.cc | 25 -------------------------
2 files changed, 26 deletions(-)
delete mode 100644 gcc/rust/ast/rust-macro.cc
diff --git a/gcc/rust/Make-lang.in b/gcc/rust/Make-lang.in
index 94d3365d929..399271a3bc7 100644
--- a/gcc/rust/Make-lang.in
+++ b/gcc/rust/Make-lang.in
@@ -123,7 +123,6 @@ GRS_OBJS = \
rust/rust-keyword-values.o \
rust/rust-abi.o \
rust/rust-token-converter.o \
- rust/rust-macro.o \
rust/rust-ast-lower.o \
rust/rust-ast-lower-base.o \
rust/rust-ast-lower-pattern.o \
diff --git a/gcc/rust/ast/rust-macro.cc b/gcc/rust/ast/rust-macro.cc
deleted file mode 100644
index 27034387293..00000000000
--- a/gcc/rust/ast/rust-macro.cc
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright (C) 2020-2025 Free Software Foundation, Inc.
-
-// This file is part of GCC.
-
-// GCC is free software; you can redistribute it and/or modify it under
-// the terms of the GNU General Public License as published by the Free
-// Software Foundation; either version 3, or (at your option) any later
-// version.
-
-// GCC is distributed in the hope that it will be useful, but WITHOUT ANY
-// WARRANTY; without even the implied warranty of MERCHANTABILITY or
-// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
-// for more details.
-
-// You should have received a copy of the GNU General Public License
-// along with GCC; see the file COPYING3. If not see
-// <http://www.gnu.org/licenses/>.
-
-#include "rust-macro.h"
-
-namespace Rust {
-namespace AST {
-
-} // namespace AST
-} // namespace Rust
--
2.49.0