From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by sourceware.org (Postfix) with ESMTPS id 569953851147; Wed, 14 Sep 2022 13:40:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 569953851147 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-x630.google.com with SMTP id go34so34809098ejc.2; Wed, 14 Sep 2022 06:40:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=/zszlutKZkvrEuLHKzvBlMeBOHUVtUeAr8l72UoLNpE=; b=UuA6YBWx9Qs233IxoQ1O8/HJ9Bc5CvQoH7LI+iFbhPAxBHxiZ91hdYkQ1BEqRQuUSY gnbrevU58IvNrH48flbypYcuIQSbvaYOmF4CS4KQ2bGhH6qo8Ce7qws8XJREUviibpyl vGYXgSMXY7mlQKec2wfqtko42eJyGIIN1zroa12WgopyuJHm2/yn3oS2p07mci1ZzbgP L1bgMULL8Z58Y55TWplwOVMWuyX94lorWvOrHC8GWxI2ZCgCAU+0q4ZubxcbtKICwE80 w5ZW6JGiZXZJ+Z0T4sfYeoeQRkzZAbRUK6jwcxB0NxlR0pZH8kv/xcySZjf4Om1TWdO2 E6ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=/zszlutKZkvrEuLHKzvBlMeBOHUVtUeAr8l72UoLNpE=; b=18wQ5b90Mbnv3Wkz7u+PVnUp7IzPOX6vgRbGUtTu9RRB7xv9/03mP6mIcTYiMyL9oX B6vGc42HTOqAIuoOfOov0z+HQrl70sguw3Mtf6D7UnPMj8OtbcYSRfpf5NF4HohNKf0V RwdcYKdfovDDforWgiw0q90f8Knn8egkTi3Fr3F6rBcgDFa59zxGzxHDBy8G+AKt8i7z G2LbxdqMN8xOPebkQ+UGHrqRBgFzGoGA0RSgQ7avmlC4dwct6FtwAYAKKUU9jd8KZnlO LFsV7Zd4EG8/2RgtKRbvcXmK0LPWawp9oFIWBOtRRjcpg9O+x8Q3WEdpX3JuESPwyXCY AEOA== X-Gm-Message-State: ACgBeo16UK83zjliE8ZXsnotb/qjW5LAfqaowjTEAx6YnR9akfqLsdRR PipCXJkvaYOVNlpMei3cgNvWsCMx0jYbMVssg3p40SM1 X-Google-Smtp-Source: AA6agR6kq+yDs0E1Dh4Keno5idU/sB2n6RfDQSS5CJonBN9aYFIoPS8Jh8c0fV+8dpMpYuRbNXnLuuZo6RXmw5sArq0= X-Received: by 2002:a17:907:3e12:b0:738:fd2f:df80 with SMTP id hp18-20020a1709073e1200b00738fd2fdf80mr26617208ejc.29.1663162819100; Wed, 14 Sep 2022 06:40:19 -0700 (PDT) MIME-Version: 1.0 References: <20220824115956.737931-1-philip.herron@embecosm.com> <20220824115956.737931-33-philip.herron@embecosm.com> In-Reply-To: <20220824115956.737931-33-philip.herron@embecosm.com> From: Richard Biener Date: Wed, 14 Sep 2022 15:40:07 +0200 Message-ID: Subject: Re: [PATCH Rust front-end v2 32/37] gccrs: Add config-lang.in To: philip.herron@embecosm.com Cc: gcc-patches@gcc.gnu.org, gcc-rust@gcc.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-8.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,GIT_PATCH_0,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE 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: On Wed, Aug 24, 2022 at 2:19 PM wrote: > > From: Philip Herron > > This was a copy paste from gccgo front-end, we do not use any of the > target_libs yet but we will need these when we support the libpanic crate. LGTM > --- > gcc/rust/config-lang.in | 34 ++++++++++++++++++++++++++++++++++ > 1 file changed, 34 insertions(+) > create mode 100644 gcc/rust/config-lang.in > > diff --git a/gcc/rust/config-lang.in b/gcc/rust/config-lang.in > new file mode 100644 > index 00000000000..d2ff376032a > --- /dev/null > +++ b/gcc/rust/config-lang.in > @@ -0,0 +1,34 @@ > +# config-lang.in -- Top level configure fragment for gcc 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 ANY 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 > +# . > + > +# Configure looks for the existence of this file to auto-config each language. > +# We define several parameters used by configure: > +# > +# language - name of language as it would appear in $(LANGUAGES) > +# compilers - value to add to $(COMPILERS) > + > +language="rust" > +compilers="rust1\$(exeext)" > + > +build_by_default="no" > + > +target_libs="target-libffi target-libbacktrace" > + > +gtfiles="\$(srcdir)/rust/rust-lang.cc" > -- > 2.25.1 >