[gcc r14-7334] gccrs: cleanup headers

Arthur Cohen cohenarthur@gcc.gnu.org
Tue Jan 16 17:23:34 GMT 2024


https://gcc.gnu.org/g:cb64096940cca23dd63f49315fdc1fef7e94b569

commit r14-7334-gcb64096940cca23dd63f49315fdc1fef7e94b569
Author: Philip Herron <herron.philip@googlemail.com>
Date:   Fri Mar 3 16:44:43 2023 +0000

    gccrs: cleanup headers
    
    Signed-off-by: Philip Herron <herron.philip@googlemail.com>
    
    gcc/rust/ChangeLog:
    
            * rust-gcc.h: remove unused headers

Diff:
---
 gcc/rust/rust-gcc.h | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/gcc/rust/rust-gcc.h b/gcc/rust/rust-gcc.h
index ff06307cb6f..dc4cc2634c3 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


More information about the Gcc-cvs mailing list