From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout-p-202.mailbox.org (mout-p-202.mailbox.org [80.241.56.172]) by sourceware.org (Postfix) with ESMTPS id B1A653858C83; Fri, 14 Oct 2022 16:33:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B1A653858C83 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=gdcproject.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gdcproject.org Received: from smtp102.mailbox.org (smtp102.mailbox.org [10.196.197.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4MpsQ916lFz9sW9; Fri, 14 Oct 2022 18:33:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gdcproject.org; s=MBO0001; t=1665765201; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8ZVEHhhM8TSmwslfC1nPl4nWJM2eii2pqLh6ksrtSJo=; b=xeARBsEphdsTPTP7+sIOkTHUR3fThll3jJ/ICV1Y1MsQrffmeTxtTeNfpAu5E7uKET4btY XfGzkSsw4c8dmJwIBt4a9CmZj1COelecvrK3h7T9gw3MBjNvOqplyZgOwuURhGxPJHRwWk FsVsZmqfZRWZFx5gVRg4B2Y+PNjPeCJyl7CfVPDsYgpUHnptQ0nlkqRJTPC9zSXmJxZldp IpuWCkXHrf321dBxj2fuf1sdmg/xbgqc42nzEzIJBrDozboCbsEJGYmswh24tHgHQI8E99 lwKy7Wck7f1I4dtBpmALuouJGms8m/3Veph8PnYwmA9V8ZtK/YUf9/ZkR3HIMg== Date: Fri, 14 Oct 2022 18:33:17 +0200 From: Iain Buclaw Subject: Re: [PATCH Rust front-end v2 33/37] gccrs: add lang-spec.h To: gcc-patches@gcc.gnu.org, philip.herron@embecosm.com Cc: gcc-rust@gcc.gnu.org References: <20220824115956.737931-1-philip.herron@embecosm.com> <20220824115956.737931-34-philip.herron@embecosm.com> In-Reply-To: <20220824115956.737931-34-philip.herron@embecosm.com> MIME-Version: 1.0 Message-Id: <1665764395.ushn6x46gz.astroid@pulse.none> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-13.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,KAM_SHORT,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Excerpts from herron.philip@googlemail.com's message of August 24, 2022 1:5= 9 pm: > From: Philip Herron >=20 > This specifies the extensions of the Rust language. > --- > gcc/rust/lang-specs.h | 26 ++++++++++++++++++++++++++ > 1 file changed, 26 insertions(+) > create mode 100644 gcc/rust/lang-specs.h >=20 > diff --git a/gcc/rust/lang-specs.h b/gcc/rust/lang-specs.h > new file mode 100644 > index 00000000000..9b14a559dd6 > --- /dev/null > +++ b/gcc/rust/lang-specs.h > @@ -0,0 +1,26 @@ > +/* lang-specs.h -- gcc driver specs for Rust frontend. > + Copyright (C) 2009-2022 Free Software Foundation, Inc. > + > + This file is part of GCC. > + > + GCC is free software; you can redistribute it and/or modify it under > + the terms of the GNU General Public License as published by the Free > + Software Foundation; either version 3, or (at your option) any later > + version. > + > + GCC is distributed in the hope that it will be useful, but WITHOUT AN= Y > + WARRANTY; without even the implied warranty of MERCHANTABILITY or > + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License > + for more details. > + > + You should have received a copy of the GNU General Public License > + along with GCC; see the file COPYING3. If not see > + . */ > + > +/* This is the contribution to the `default_compilers' array in gcc.cc > + for the Rust language. */ > + > +{".rs", "@rs", 0, 1, 0}, > + {"@rs", I've just noticed that you named the spec language "rs", I think you mean to name it "@rust" instead. Regards, Iain.