aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-04-12 15:04:30 +0000
committerGitHub <noreply@github.com>2022-04-12 15:04:30 +0000
commite9ab95c088060ab27d3665879cd1ae0b6cbdc912 (patch)
treebca2a215c3d2ddd4813e4d4b692380fbccbf7a6d /gcc/rust/backend
parent7430791e0f71f1882a0f856c496071b76c61a6bc (diff)
parent1a3f38a2b0b7a1d13a934952f74a4a910035e72b (diff)
downloadgcc-e9ab95c088060ab27d3665879cd1ae0b6cbdc912.zip
gcc-e9ab95c088060ab27d3665879cd1ae0b6cbdc912.tar.gz
gcc-e9ab95c088060ab27d3665879cd1ae0b6cbdc912.tar.bz2
Merge #1109
1109: rust: Allow gccrs to build on x86_64-apple-darwin with clang/libc++ r=CohenArthur a=simonpcook 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. Co-authored-by: Simon Cook <simon.cook@embecosm.com>
Diffstat (limited to 'gcc/rust/backend')
-rw-r--r--gcc/rust/backend/rust-mangle.cc1
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";