aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust
diff options
context:
space:
mode:
authorPhilip Herron <herron.philip@googlemail.com>2023-03-03 16:44:43 +0000
committerPhilip Herron <philip.herron@embecosm.com>2023-03-03 19:27:24 +0000
commit99b3cfe5cdd97dc36b5807ab635e484a7d0c9aa7 (patch)
tree8482e35a522e428e0bffe7f72295448ce92b0a91 /gcc/rust
parent4ab9d9ce3366e51ccfe8a6a1a94e0eafedec5abb (diff)
downloadgcc-99b3cfe5cdd97dc36b5807ab635e484a7d0c9aa7.zip
gcc-99b3cfe5cdd97dc36b5807ab635e484a7d0c9aa7.tar.gz
gcc-99b3cfe5cdd97dc36b5807ab635e484a7d0c9aa7.tar.bz2
gccrs: cleanup headers
Signed-off-by: Philip Herron <herron.philip@googlemail.com> gcc/rust/ChangeLog: * rust-gcc.h: remove unused headers
Diffstat (limited to 'gcc/rust')
-rw-r--r--gcc/rust/rust-gcc.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/rust/rust-gcc.h b/gcc/rust/rust-gcc.h
index 0db8194..e0aa540 100644
--- a/gcc/rust/rust-gcc.h
+++ b/gcc/rust/rust-gcc.h
@@ -19,17 +19,11 @@
// along with GCC; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
-#include "rust-system.h"
-
// This has to be included outside of extern "C", so we have to
// include it here before tree.h includes it later.
-#include <gmp.h>
-#include "tree.h"
#include "rust-location.h"
-// TODO: this will have to be significantly modified to work with Rust
-
// Bvariable is a bit more complicated, because of zero-sized types.
// The GNU linker does not permit dynamic variables with zero size.
// When we see such a variable, we generate a version of the type with