From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 A946E3857001 for ; Wed, 27 Jul 2022 13:40:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A946E3857001 Received: by mail-wr1-x435.google.com with SMTP id h9so24293413wrm.0 for ; Wed, 27 Jul 2022 06:40:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:reply-to :mime-version:content-transfer-encoding; bh=5uLjQZ0qv+kjUXiuWx5llHkPGebGC96LnpGIy4fcmNg=; b=d44UH+0Mmlh2bWGcZquMoPbhx3CnnZdgeuimFEZqKwKZK3ueaPyvrk4TtxwNpWBGeK 4J3h8R2kGlXXSdksuoElbXAS3aKy76dSOxIcQu4uLG0IzWXth9Zc/L7G25JB7e8yOyeJ zPQXqYbo6JXD9URoSIe2l38AyWyCDfwK/9I1hrh/YI+ixDUUM4qJKOnVfcgsU+b3jUyK 1E9iyiQaUrXMmvV6E9il0lxUvTyA9vJIaIpHL5LkJ630OWan1rPl/OjcYCqwmHb3nAfQ 1Srq0GTxOVFpSDchooyFh/86hueL6Ye9WtMtLtR3kdRKbnRK92yhMOkOmi4vClYiy13f s/hA== X-Gm-Message-State: AJIora/a0A5YFkEGuYCm5dlV3m2762X8qaJMo9+s3TLuDTy8eYSg56Ah +rNyJmW/a8leMEA++I/9+JtT10rdMdC8Rg== X-Google-Smtp-Source: AGRyM1sGydLTyFqP050zLW5WuCMNhD9DB+45RJjWt9++PfEzzCghFRT1IT6NcrXUmje+NriHJzn8Xw== X-Received: by 2002:adf:edcb:0:b0:21e:d043:d271 with SMTP id v11-20020adfedcb000000b0021ed043d271mr2064703wro.274.1658929253795; Wed, 27 Jul 2022 06:40:53 -0700 (PDT) Received: from localhost.localdomain ([86.14.124.218]) by smtp.gmail.com with ESMTPSA id u18-20020a5d4352000000b0021e297d6850sm16846195wrr.110.2022.07.27.06.40.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Jul 2022 06:40:53 -0700 (PDT) From: herron.philip@googlemail.com X-Google-Original-From: philip.herron@embecosm.com To: gcc-patches@gcc.gnu.org Subject: Rust frontend patches v1 Date: Wed, 27 Jul 2022 14:40:36 +0100 Message-Id: <20220727134040.843750-1-philip.herron@embecosm.com> X-Mailer: git-send-email 2.25.1 Reply-To: philip.herron@embecosm.com MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_NUMSUBJECT, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no 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: , X-List-Received-Date: Wed, 27 Jul 2022 13:40:57 -0000 This is the initial version 1 patch set for the Rust front-end. There are more changes that need to be extracted out for all the target hooks we have implemented. The goal is to see if we are implementing the target hooks information for x86 and arm. We have more patches for the other targets I can add in here but they all follow the pattern established here. Each patch is buildable on its own and rebased ontop of 718cf8d0bd32689192200d2156722167fd21a647. As for ensuring we keep attribution for all the patches we have received in the front-end should we create a CONTRIBUTOR's file inside the front-end folder? Note thanks to Thomas Schwinge and Mark Wielaard, we are keeping a branch up to date with our code on: https://gcc.gnu.org/git/?p=gcc.git;a=shortlog;h=refs/heads/devel/rust/master but this is not rebased ontop of gcc head. Let me know if I have sent these patches correctly or not, this is a learning experience with git send-email. [PATCH Rust front-end v1 1/4] Add skeleton Rust front-end folder [PATCH Rust front-end v1 2/4] Add Rust lang TargetHooks for i386 and [PATCH Rust front-end v1 3/4] Add Rust target hooks to ARM [PATCH Rust front-end v1 4/4] Add Rust front-end and associated