]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gccrs: Add missing direct include
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Wed, 6 Aug 2025 08:35:06 +0000 (10:35 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Thu, 30 Oct 2025 19:58:36 +0000 (20:58 +0100)
gcc/rust/ChangeLog:

* util/bi-map.h: Add include directive for required declarations.
* util/fnv-hash.h: Likewise.
* util/rust-dump.h: Likewise.
* util/rust-inline-visitor.h: Likewise.
* util/rust-unwrap-segment.h: Likewise.

Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
gcc/rust/util/bi-map.h
gcc/rust/util/fnv-hash.h
gcc/rust/util/rust-dump.h
gcc/rust/util/rust-inline-visitor.h
gcc/rust/util/rust-unwrap-segment.h

index 54870f7d971732707f51e922e630ea16a26f6068..4af157fd8dcca473a0916d55ef8c56326566172a 100644 (file)
@@ -17,6 +17,7 @@
 // <http://www.gnu.org/licenses/>.
 
 #include "rust-system.h"
+#include "optional.h"
 
 #ifndef BIMAP_H
 #define BIMAP_H
index 6d2ec012faa6654960be866cf2a08d6a3413085a..e51b66a95aefc5bdd68b4f440e7812f6e3660c73 100644 (file)
@@ -15,6 +15,7 @@
 // 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-system.h"
 
 #ifndef RUST_FNV_HASH_H
 #define RUST_FNV_HASH_H
index c2d9c4d2d81a410eb07af97de7606518747128d9..111174b866eae49a845fd35c45eda5358ba00c51 100644 (file)
@@ -16,6 +16,8 @@
 // along with GCC; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
+#include "rust-system.h"
+
 // Common definitions useful for textual dump of IRs (AST and HIR).
 
 #ifndef RUST_DUMP_H
index 2a35aa6cc1477a3e9d9ea43b21853ec2f7769361..a00cd2c0d9493afa72b986c8624baa3a0a2f4f8e 100644 (file)
@@ -15,6 +15,7 @@
 // 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-system.h"
 
 // An improved implementation of the inline visitor.
 // Original idea from https://members.accu.org/index.php/articles/2021
index af3a237ea28e85499eed534e3b4ea037d056c885..7db038d7dfaa2f660e714a9b07b4731ffa82af26 100644 (file)
 // along with GCC; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
+#include "rust-system.h"
+#include "optional.h"
+#include "rust-lang-item.h"
+#include "rust-mapping-common.h"
 #include <ast/rust-ast-full-decls.h>
 
 namespace Rust {