]> git.ipfire.org Git - people/ms/gcc.git/commitdiff
gccrs: cleanup headers
authorPhilip Herron <herron.philip@googlemail.com>
Fri, 3 Mar 2023 16:44:43 +0000 (16:44 +0000)
committerPhilip Herron <philip.herron@embecosm.com>
Fri, 3 Mar 2023 19:27:24 +0000 (19:27 +0000)
Signed-off-by: Philip Herron <herron.philip@googlemail.com>
gcc/rust/ChangeLog:

* rust-gcc.h: remove unused headers

gcc/rust/rust-gcc.h

index 0db81949270e194bf34b441f0fe309734f62de04..e0aa540a1fa23541b0c47a9dd4427efc7dd0389d 100644 (file)
 // 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