[committed,056/103] gccrs: rust: Allow gccrs to build on x86_64-apple-darwin with clang/libc++

Message ID 20230221120230.596966-57-arthur.cohen@embecosm.com
State Unresolved
Headers
Series [committed,001/103] gccrs: Fix missing dead code analysis ICE on local enum definition |

Checks

Context Check Description
snail/gcc-patch-check warning Git am fail log

Commit Message

Arthur Cohen Feb. 21, 2023, 12:01 p.m. UTC
  From: Simon Cook <simon.cook@embecosm.com>

gcc/rust/ChangeLog:

	* util/rust-inline-visitor.h: Remove some offending system includes.
---
 gcc/rust/util/rust-inline-visitor.h | 3 ---
 1 file changed, 3 deletions(-)
  

Patch

diff --git a/gcc/rust/util/rust-inline-visitor.h b/gcc/rust/util/rust-inline-visitor.h
index 18920d9f93a..105a67b8c5c 100644
--- a/gcc/rust/util/rust-inline-visitor.h
+++ b/gcc/rust/util/rust-inline-visitor.h
@@ -22,9 +22,6 @@ 
 #ifndef RUST_INLINE_VISITOR
 #define RUST_INLINE_VISITOR
 
-#include <utility>
-#include <type_traits>
-
 namespace Rust {
 
 // Wrapper for the target Visitor we're matching against.