Message ID | 20221206101417.778807-43-arthur.cohen@embecosm.com |
---|---|
State | New |
Headers | show
Return-Path: <gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=embecosm.com header.i=@embecosm.com header.a=rsa-sha256 header.s=google header.b=EopjqCi8; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NRGkp62GZz23ns for <incoming@patchwork.ozlabs.org>; Tue, 6 Dec 2022 21:25:06 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id DBC023832DB5 for <incoming@patchwork.ozlabs.org>; Tue, 6 Dec 2022 10:25:04 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by sourceware.org (Postfix) with ESMTPS id F4219396E437 for <gcc-patches@gcc.gnu.org>; Tue, 6 Dec 2022 10:14:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org F4219396E437 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-x429.google.com with SMTP id m14so22735833wrh.7 for <gcc-patches@gcc.gnu.org>; Tue, 06 Dec 2022 02:14:11 -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=VpRhON2XcsQQpVhxyXVGvs4Qgg44Sfxw3GN5tCOOzP0=; b=EopjqCi8KREzPus7iQfJ0pcYauwXcRgwUBGPs7uKfaXf9cJeq5lnyM6cLAnGbJE0w5 j9SyBp4ZVxpHK6pslZKJ3ZIIfq0Z6a/UXiIaLMZ9Hgxhrrzt+S6DQASKexI1WDRiVX0a GK2zoWc3AUf+T0LgHHCSNnVy1mYmGIJprR1uR7GaiYYXyltt+tifeduwmabyknJgFP+x dR8Il/aCiz9z3Fj/g7nEOESPzGg26kKQiHuyuP0bCS63l/6/VNmTasswfcOS382I4WLi eXOpolZGgvYidpAnjzWZbKUwBnXQcGxVkU2oKlGUykKcA/VBni1bbeK6nSmA0Y3QUg0z 5p+w== 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=VpRhON2XcsQQpVhxyXVGvs4Qgg44Sfxw3GN5tCOOzP0=; b=Iqbu74QbIzKjtE7GLnSYMzneKQU7bivJbsYx8XNisJzkS1HEHtRZaDa70mdMbNsgm+ RQsViAiIqrOCx5Yzwj/PwgAnwbuyL6EzFYWJBVTytiNZNyPeYlHKGQQX/lHGNOWtONAl rmOt1r/bHqlkzOPpGdxm5zcvhIN/7eJr7XbITqeHE7ty2ogvHsnsUEdDbvqXay1PP04u EGyQ9hwtaGRnxiVQySMqN023bBY9umsVaMkQ6q3IdWsvYM9OT2Oqgcjz8UQ5lnYKuCkP o9/7n9k2QfUrbic6EpAM4GYlTcXxzqdjiPUB8jjy2VDsWUoMw1rZa/bQhgyBezyqy1kx PmyA== X-Gm-Message-State: ANoB5plpuwrh39927N4PhGJyr0CVfl+cb7yEwYiIUOV6WAB7RkB8SEFn Z9xKlHuGdpHvQCOucFx5hhaL18FrriWOyk8j2Q== X-Google-Smtp-Source: AA0mqf7HDS9CoSsveucAEb81RjErfEF/toI3Lcd6kPpaabZycoarNqDcYkbR79x50IMXQnXBOUWx8g== X-Received: by 2002:a5d:5d0f:0:b0:236:6f6f:8dd7 with SMTP id ch15-20020a5d5d0f000000b002366f6f8dd7mr43015183wrb.4.1670321650480; Tue, 06 Dec 2022 02:14:10 -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.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Dec 2022 02:14:10 -0800 (PST) From: arthur.cohen@embecosm.com To: gcc-patches@gcc.gnu.org Cc: gcc-rust@gcc.gnu.org, Philip Herron <philip.herron@embecosm.com> Subject: [PATCH Rust front-end v4 42/46] gccrs: Add lang-spec.h Date: Tue, 6 Dec 2022 11:14:20 +0100 Message-Id: <20221206101417.778807-43-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> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-17.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 X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Reply-To: arthur.cohen@embecosm.com Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org> |
Series |
[Rust,front-end,v4,01/46] Use DW_ATE_UTF for the Rust 'char' type
|
expand
|
diff --git a/gcc/rust/lang-specs.h b/gcc/rust/lang-specs.h new file mode 100644 index 00000000000..eed28b1eb06 --- /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 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 + <http://www.gnu.org/licenses/>. */ + +/* This is the contribution to the `default_compilers' array in gcc.cc + for the Rust language. */ + +{".rs", "@rust", 0, 1, 0}, + {"@rust", + "rust1 %i %(cc1_options) %{I*} %{L*} %D %{!fsyntax-only:%(invoke_as)}", 0, 1, + 0},
From: Philip Herron <philip.herron@embecosm.com> 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