From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by sourceware.org (Postfix) with ESMTPS id 51F2F38654A2 for ; Wed, 26 Oct 2022 08:16:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 51F2F38654A2 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-wm1-x330.google.com with SMTP id bh7-20020a05600c3d0700b003c6fb3b2052so970765wmb.2 for ; Wed, 26 Oct 2022 01:16:10 -0700 (PDT) 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=80Uj4L/6RyYqu3oBP7b19ikB854efS/1r4lTN75D5NM=; b=MypczKAj0TN5TXwlS5eqKwghkjM0jahjuVl/iPjL55h9bsfEf97IAKS9CJVqVNzXb9 aNkNI85ccUhVR5klB1nzweECS3d8DtRE2GBdctMNVXo3uWjk0FK2B1GMWqi0F++R2Ts2 h7Mw8Bd2GRwKBR3Z1tp691KzzSNqm74HGa0H4N2UksNyv6qd8uJIlABcg8NqrO5pCeZI 95OlI3YrpjGWmb1FjJ6yqypD8sk8sW4AbOAjdKrBX91aEtZ1Zs/84XPjOi4d91SCFfAd LSvCsn6vgusK85b6MLph3Fp7bGpgceUE4gBVN+WIBdqU7vAx47+5FJdr91yOLhfhe2Hx SbBA== 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=80Uj4L/6RyYqu3oBP7b19ikB854efS/1r4lTN75D5NM=; b=HV3Ztpeue+kjTJpZFtAtK6cETkD+PMARuKhkvaga6XG/uzAMALuJcyH4Y3NRReTGxk LdbHB9tZQywuc3RduKV78ZgUDK986l8pEPMifai4rye7ta8Mq89QRpHNlPgVxPKX6dRV woPZR4Toxb2/v7TxmP9uwMnCIhkOjRNrT1+48T+kFFz5vQX4OIwaY1xYvup3ORxBk1td /J8r87zPqSVMf493jUoq6OZzl4QPy6KjQ2HaSDusAlLX1fZkcbKVK38AoF6wlaZYA4/3 r9i++qGABuNljl0m8Owkn+7Wju3uXcUTpPEnNu5yyD65e0gbf6Uypsn6Rk2YZR76LtGv ucRA== X-Gm-Message-State: ACrzQf3E3mvumHtlc9Do1aHKOshBWvU4P4xVx+hBPS0i2GbimMa7g1wr OjwcBJaQ+R6DgrSCmG7sc22fLt7WtdJck32UBg== X-Google-Smtp-Source: AMsMyM6Yke+LElePQJKHB1zu9nOEf8KLzxLtX3ey0IwFU8OUHvLuukflIsLZjYRMWqAf64+3u6+c4w== X-Received: by 2002:a05:600c:4142:b0:3c6:eed5:847c with SMTP id h2-20020a05600c414200b003c6eed5847cmr1573494wmm.113.1666772169959; Wed, 26 Oct 2022 01:16:09 -0700 (PDT) Received: from platypus.lan ([2001:861:5e4c:3bb0:6424:328a:1734:3249]) by smtp.googlemail.com with ESMTPSA id q16-20020a05600c46d000b003c6f426467fsm1134310wmo.40.2022.10.26.01.16.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Oct 2022 01:16:08 -0700 (PDT) From: arthur.cohen@embecosm.com To: gcc-patches@gcc.gnu.org Cc: gcc-rust@gcc.gnu.org Subject: [PATCH Rust front-end v3 41/46] gccrs: Add config-lang.in Date: Wed, 26 Oct 2022 10:18:06 +0200 Message-Id: <20221026081811.602573-42-arthur.cohen@embecosm.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20221026081811.602573-1-arthur.cohen@embecosm.com> References: <20221026081811.602573-1-arthur.cohen@embecosm.com> Reply-To: arthur.cohen@embecosm.com MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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_NONE,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: 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. --- 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.37.2