From patchwork Tue Feb 21 12:01:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arthur Cohen X-Patchwork-Id: 60040 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1841306wrn; Tue, 21 Feb 2023 04:47:30 -0800 (PST) X-Google-Smtp-Source: AK7set+MX2y1s/mRPc7IbrOFbytca/8Yv2BuEaMFuaB4uTjEkCcGxNpizGJ2laux+AaRfmk6xgYJ X-Received: by 2002:a17:907:170e:b0:8b1:3483:e3d5 with SMTP id le14-20020a170907170e00b008b13483e3d5mr10866262ejc.48.1676983650607; Tue, 21 Feb 2023 04:47:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676983650; cv=none; d=google.com; s=arc-20160816; b=HsgFl1KfXDSsTIP1l0oVcsrQ78PqK8B2H3dCiZazhBvv5tcu6nK7BZ5CX8cq6Tgv9O ttjKsPgdjJdvJZYPxaelvjYpvfSN9ceGPzNf4DG87rz4SMT6s3gLvVqWlWsXJRnN7kEC lcYWfB/xeCWEzTLUNB9rqNV/b+elwSm4Rs9KGA9XPi4+/7wWIBFXoBhorS5vQZ6/ENEC jc62OkmiM5a5jo3Zx/4JIfEUrK/rct0ZZEsc3D4u8CSp9mWLMbHU+BxPWsuFjzo/laVB sD7tV5w5DlDVlEwxMoellJHerFUqqsMgJEjtpE4HMAJw3gxPY0fOnbYKJjjDZPTLW6jD 2z8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dmarc-filter :delivered-to; bh=H8S5iJ6nYeL94/MXpPgn8/HOKjx3mdnN2kXX1+fFH+k=; b=vwdeOaO8xztmBxosZm8/hLwEkESItgFT9R+bIUkdgcQ+5agKF9DbT7qAkl9LwgfHeC kNBVzHPO5fPt6IMdYEOqzBrHq7EQdnWJmQXOQm/MOxTfLMOYq+ucnEfAXQFwgsd31tEm c0IymijS9k5woFX3Oj9bkvnL25xD47TrpovsAn/jKVSMThI4Wqkcmll6Nha2emsCzGSj 0NUPlJjx6KO+/nClv4+1wI8BI7c2bZla4Nf5BFL0XEuqc4Tji3ZnKw3WgixkT+MCqG8T wBWJQhP+5YOpSWkRXm32EK5Xpg0xrqUZIqbstcaQmmnLAhmYoGwS/YktIEV+oftNzs+n PPJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@embecosm.com header.s=google header.b=YbpKofq6; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id aa23-20020a170907355700b008d80f0b9713si4444836ejc.674.2023.02.21.04.47.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Feb 2023 04:47:30 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@embecosm.com header.s=google header.b=YbpKofq6; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 955AF3922AD7 for ; Tue, 21 Feb 2023 12:15:44 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by sourceware.org (Postfix) with ESMTPS id BD4F43839DFA for ; Tue, 21 Feb 2023 12:04:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org BD4F43839DFA Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=embecosm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=embecosm.com Received: by mail-wr1-x435.google.com with SMTP id l25so3758891wrb.3 for ; Tue, 21 Feb 2023 04:04:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embecosm.com; s=google; h=content-transfer-encoding:mime-version:reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=H8S5iJ6nYeL94/MXpPgn8/HOKjx3mdnN2kXX1+fFH+k=; b=YbpKofq6dtFXyQnCBhTODNblZPCNW+qjnCceACDcONJUQQMROY+Q7TPNBfarcffeoK OIkO+xZCWAOilTGbtxnIvSn+Nf4DPhHFs3+ZzD3aKHN489FzyFNPyL2gF3fNeqaN6gUB qb3n2vA5X8dzpf5zBre1gz4WgrjB8RyaA/mYEvOCsrZjlrURbes7pDnh56N1KcPsKsRp fFpHizI05ZKN/ISaxwPsCbWuZ4Lj8puGTxcCUx2NNMJZgwHDTvh71dJD9lJ8m8jbgeYD GBaB24dxe43J7gvtn1F4aeMkVoiW2pd6SvWPs5rt6UADbn5DyjQzhIzOci3nJskz8j/E YlLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=H8S5iJ6nYeL94/MXpPgn8/HOKjx3mdnN2kXX1+fFH+k=; b=NCgJrDpY3Gzb1lbduhNSujKS29PXsBph2oZD6e7ZLfPT1dK3CxeH+A260Jp0UEF/nr E2bO+TMC34k4bd0ne0YUkAbttjWEY3P5udUGli9AVBd95SFt2yLcFzoF0Gu8RoHodhO3 yf0f7aovarWVjMfut2nzxdH0MyVUu0STZbBLoYoSkzqJCuGjPmNeWf2P8xxOxxXQwnLg M7dQerS7y9xNrwQQvxzZEkqHJ9QZDJWgdefGth7895J098xgmJq31kJuKgGZqeM8qmat //9mTFo/lBtqdAinELyTSMOI1sRq9CCDuMhkipy5hAWBxjn6rgb4ybEVuO+1pIhmW3oE 9c4g== X-Gm-Message-State: AO0yUKWYQiJFbxf6oVi4UVS3GSdM7qWk0UyPJiZdJRRW7PryedsgDCv9 Avu8ozJa1775IOvKK+3txGhHXYHUxaO2HVAJKQ== X-Received: by 2002:a05:6000:1a52:b0:2c7:6bf:16cc with SMTP id t18-20020a0560001a5200b002c706bf16ccmr966576wry.32.1676981048177; Tue, 21 Feb 2023 04:04:08 -0800 (PST) Received: from platypus.localdomain ([62.23.166.218]) by smtp.gmail.com with ESMTPSA id c15-20020adffb4f000000b002c55b0e6ef1sm5013811wrs.4.2023.02.21.04.04.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Feb 2023 04:04:07 -0800 (PST) From: arthur.cohen@embecosm.com To: gcc-patches@gcc.gnu.org Cc: gcc-rust@gcc.gnu.org, Simon Cook Subject: [committed 056/103] gccrs: rust: Allow gccrs to build on x86_64-apple-darwin with clang/libc++ Date: Tue, 21 Feb 2023 13:01:46 +0100 Message-Id: <20230221120230.596966-57-arthur.cohen@embecosm.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230221120230.596966-1-arthur.cohen@embecosm.com> References: <20230221120230.596966-1-arthur.cohen@embecosm.com> MIME-Version: 1.0 X-Spam-Status: No, score=-14.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: arthur.cohen@embecosm.com Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758444808481340288?= X-GMAIL-MSGID: =?utf-8?q?1758444808481340288?= From: Simon Cook 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(-) 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 -#include - namespace Rust { // Wrapper for the target Visitor we're matching against.