diff options
author | Simon Cook <simon.cook@embecosm.com> | 2022-04-12 16:45:56 +0200 |
---|---|---|
committer | Simon Cook <simon.cook@embecosm.com> | 2022-04-12 16:45:56 +0200 |
commit | 1a3f38a2b0b7a1d13a934952f74a4a910035e72b (patch) | |
tree | d9528e076ff348fc2401f296e63fcb0695bccea4 /gcc/rust/backend | |
parent | 68458036c81d141a3899ac4e6ec6ddf0fdfde174 (diff) | |
download | gcc-1a3f38a2b0b7a1d13a934952f74a4a910035e72b.zip gcc-1a3f38a2b0b7a1d13a934952f74a4a910035e72b.tar.gz gcc-1a3f38a2b0b7a1d13a934952f74a4a910035e72b.tar.bz2 |
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.
Diffstat (limited to 'gcc/rust/backend')
-rw-r--r-- | gcc/rust/backend/rust-mangle.cc | 1 |
1 files changed, 0 insertions, 1 deletions
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 <algorithm> // FIXME: Rename those to legacy_* static const std::string kMangledSymbolPrefix = "_ZN"; |