From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by sourceware.org (Postfix) with ESMTPS id 9A24F39730E6 for ; Tue, 6 Dec 2022 10:14:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 9A24F39730E6 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-x433.google.com with SMTP id h7so16738879wrs.6 for ; Tue, 06 Dec 2022 02:14:09 -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=6SVAg3pZNsF3LHy8RL2JibsFPMfFH4hBQuWOTKQi/Qg=; b=KiUe0DKdEbzjEK22cX5+gwrx0UD8DjstD4FsR3psJ9c4yp1wEYRpOiCvL33fSM0N1p yQarHnyziXtSrxgavQkWPCQ4PjI4OnatiREdtvpyTG0empj1G4zGVM0i/wlRgMNTB9x0 amrjPswTTeQ5jOaUzd//+wrKPo9EHjY9sm9Pi7WS1Z8GClmBz90X+yfLIZfIW3gyHOF8 scLSoTDhlxL2j+aJlZRbbyeDAEjt7a0FHtpGAgtMWmIci8+IbpeFiZuIrMFfh/Io+ayS wLa3dPxoQXm+S4VOKPWG7SwujfH+ehFnRQx2q+qSVxMXoMMWkKoeN3lUXBKBYtmZv0JH rYnA== 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=6SVAg3pZNsF3LHy8RL2JibsFPMfFH4hBQuWOTKQi/Qg=; b=Z17vdynEY3RmY30V5PAxyYtWGbdTLdiZ3DhskqQqfjlQuK5aW9JIaElAXzIpta1RVl NsrdAPBLKWvcGZmtNOQHjICNBqiH8YQpSQn1bpNMFhdgezYPWGBmVHcmBuEaeXDYOhjM e4W+OmtpuJVp1prSZIxAkjLrlBTOGG3QNsrbmWFkR7AlXesDjwx/SgiQoT1xkS+HobnP 0SfWGl4rfNeuOM327sGEvY5bqoppt86nH6iR7hgmGxxNnWO+mmy9rDggD7ifvzvytPuT 9AXRthPp61rd7gZBAWIVo/Nw0Lw+p99uGXQR15anyxLWhkOomqwVYByqhHj7JZslnnLu 4iog== X-Gm-Message-State: ANoB5pmcmwmXvjb6Smb0V+nfZnuJQ4qYWwQZhLil/g4a6BJEdwQ0BN61 JFBHC15YqqZF6xpcwEsu3Tm/YQRiK7+jgYzwMQ== X-Google-Smtp-Source: AA0mqf5XMwGbwuoEGORAUCy517b2oHCHkZYr8eGB9Z4gJZB7WcYuk99YDOTZP6J/2QfApUG261vOQA== X-Received: by 2002:a05:6000:60c:b0:242:10ac:6ab2 with SMTP id bn12-20020a056000060c00b0024210ac6ab2mr26152880wrb.552.1670321648423; Tue, 06 Dec 2022 02:14:08 -0800 (PST) Received: from platypus.lan ([2001:861:5e4c:3bb0:6424:328a:1734:3249]) by smtp.googlemail.com with ESMTPSA id r10-20020a05600c458a00b003cfd4a50d5asm27052699wmo.34.2022.12.06.02.14.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Dec 2022 02:14:08 -0800 (PST) From: arthur.cohen@embecosm.com To: gcc-patches@gcc.gnu.org Cc: gcc-rust@gcc.gnu.org, Philip Herron Subject: [PATCH Rust front-end v4 41/46] gccrs: Add config-lang.in Date: Tue, 6 Dec 2022 11:14:19 +0100 Message-Id: <20221206101417.778807-42-arthur.cohen@embecosm.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221206101417.778807-1-arthur.cohen@embecosm.com> References: <20221206101417.778807-1-arthur.cohen@embecosm.com> Reply-To: arthur.cohen@embecosm.com MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-15.2 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=unavailable 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.38.1