From 1a3f38a2b0b7a1d13a934952f74a4a910035e72b Mon Sep 17 00:00:00 2001 From: Simon Cook Date: Tue, 12 Apr 2022 16:45:56 +0200 Subject: rust: Allow gccrs to build on x86_64-apple-darwin with clang/libc++ This makes changes to the includes such that gccrs can be built with clang/libc++, and for x86_64-apple-darwin. Similarly, a couple of changes have been made to creating MacroInvocations and wrapping into ExprOrStmts for libc++ compatibility. --- gcc/rust/backend/rust-mangle.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'gcc/rust/backend') diff --git a/gcc/rust/backend/rust-mangle.cc b/gcc/rust/backend/rust-mangle.cc index 82f643a..c0aea02 100644 --- a/gcc/rust/backend/rust-mangle.cc +++ b/gcc/rust/backend/rust-mangle.cc @@ -1,7 +1,6 @@ #include "rust-mangle.h" #include "fnv-hash.h" #include "rust-base62.h" -#include // FIXME: Rename those to legacy_* static const std::string kMangledSymbolPrefix = "_ZN"; -- cgit v1.1