gccrs: rust: Allow gccrs to build on x86_64-apple-darwin with clang/libc++
authorSimon Cook <simon.cook@embecosm.com>
Tue, 12 Apr 2022 14:45:56 +0000 (16:45 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 21 Feb 2023 11:36:41 +0000 (12:36 +0100)
gcc/rust/ChangeLog:

* util/rust-inline-visitor.h: Remove some offending system includes.

gcc/rust/util/rust-inline-visitor.h

index 18920d9..105a67b 100644 (file)
@@ -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.