From patchwork Wed Apr 5 14:03:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arthur Cohen X-Patchwork-Id: 79723 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp364877vqo; Wed, 5 Apr 2023 07:50:46 -0700 (PDT) X-Google-Smtp-Source: AKy350bDcelGkLvHjVjcAWui8bxTHV48UI6ApY8zdFrYteBxqSTvpIEluB8Q4KG5NW9EulP51ck/ X-Received: by 2002:a17:906:46c8:b0:932:c1e2:998b with SMTP id k8-20020a17090646c800b00932c1e2998bmr3482980ejs.15.1680706246633; Wed, 05 Apr 2023 07:50:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680706246; cv=none; d=google.com; s=arc-20160816; b=cewxw21eG0t+B1tHEU3J51b8BbmEyu5+j3dXbwIqS22s6j813r1oBNVNkbwP8ftCde U3fH/HDf6KABDYjDIu4h7Ix32qVRpvyK5fTMoqRFCowLPHj36MB4vtVXWCZk57BTO0gT RlTVj5myeKV1f8MUJdhAB8AxKAVc1z96wCb40fq550grwg6Xp18djcfK2OGBS02nKzvW iuqVTTipiMgugB55UjkyQZJgmeYYwnRf16zywbXv6hf8lKIcYZIfVgGu5IeYwsBkqBkH H1gWNPmHt8iBy25upRXzgXiVNSertgmjMuVSBeZ7h83eCfZ52LP7xlwIZYeVvtn8ZCHV kYWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dmarc-filter :delivered-to; bh=5/XmpcEFr4jFkR/ls+o1KaQHIyrs6HUKdSVEF7H+v54=; b=YhmG6ENIYdLUqV7+418TivlENtvaGyaahw4Wh+4eCR8R04ByX9ft+yTMUSST+cw2Vz QestzNm3Rt2Akg5As4fxPbYLd7m2PhnFYOy03hNxKoZcSo20V7PmeLgmZ1JSJKmozDBa f7WtTW4+auwlWpMEoxjH48CQiBGrCzAt2OStHD72PSeFQs6cg3tDsRZ/T14SR0QoiuvH BbgHGMtEaU/MHLcYLzFuvHnaqU3JNB8T/Nby+55LIXd7R9D5MnWeNwmf27xEDqRTh3FO dGJAwYrFn7UbH+zq2n10Nushurb6NJd5RkPs6wQGRwRhyHAg1SwHN8Evzb8lh5VdqG92 wRbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@embecosm.com header.s=google header.b=g1ToCz1Y; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id g12-20020a170906348c00b00933b668c967si1659060ejb.477.2023.04.05.07.50.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Apr 2023 07:50:46 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@embecosm.com header.s=google header.b=g1ToCz1Y; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id F10FD39AFFD0 for ; Wed, 5 Apr 2023 14:18:29 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by sourceware.org (Postfix) with ESMTPS id E8353385B516 for ; Wed, 5 Apr 2023 14:06:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E8353385B516 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-x335.google.com with SMTP id v20-20020a05600c471400b003ed8826253aso2319188wmo.0 for ; Wed, 05 Apr 2023 07:06:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embecosm.com; s=google; t=1680703572; 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=5/XmpcEFr4jFkR/ls+o1KaQHIyrs6HUKdSVEF7H+v54=; b=g1ToCz1YEQbL9YINutZR6YdAf+EPWmhvyVv000MeD+fprtbjxANdvvok7xWRiSyw9C M2TrblKtN8t/pgZqxRnZfdpNdccpEvXuuxse0+4k50J4MPKS3y1sDEjzKf4PWTKf19B+ +AiDKQr8SnV5tMkOiAAUTuvYn5TZkNEK+ZQpRJRnZa9gjFDYrAiqxytOsjuq3zsNm5XA 3qAt47HhucXsfj3Mmx/1KnyMwnYYGxJPmIAfaWzD+MWQbTgxs+HrVkI4z+AgjXoNesw3 Q1vodf4AFHNi4BP/AfgN7eebtNhci2R+HqdBWweXj61I19bVUEJ1JgwyrQKvKQRvxT9z Bb9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680703572; 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=5/XmpcEFr4jFkR/ls+o1KaQHIyrs6HUKdSVEF7H+v54=; b=1MZXnpgo8+GFpPth4dd7U5kZyW0BHSXb9n1cpqAJ/I5sf4S+dX8zcnK4HsM2T83M42 sr7b+GTp3JO578jqCId8XEhDTBkviSLXZdHGTHcUGFDPtNmTsingE9ibvSwhsV7k26hv HZpMrf2Ywf0WUwJk1GHbRqXPdoa0Pbr+Yww3WislnD989ss5YCiCS03NXmum8AhxvvUw qLf0wiQJRKYvLJ/7FaXKI6I4d9+YfnUw94NsnHiRabm+2P2ZYfL0k+aXZF7gw0/wVblw loidTrdd0Mc2g7gBmFaDVjJiPlDBL50fxWQjIlyh8m3sEEfNozuScaTFScMGmngn/tSx kM6Q== X-Gm-Message-State: AAQBX9dgjVn0O4QbZTmcAQvTaGs4XVwu54gMMlwdqyTW19Ia+jq2PaTc hbz8Iv25sv5d/FAT0eRHyLT/UdM9NCkvi2QzLQ== X-Received: by 2002:a7b:ce08:0:b0:3ef:d386:1a2b with SMTP id m8-20020a7bce08000000b003efd3861a2bmr4342265wmc.41.1680703572246; Wed, 05 Apr 2023 07:06:12 -0700 (PDT) Received: from platypus.localdomain ([62.23.166.218]) by smtp.gmail.com with ESMTPSA id ay8-20020a05600c1e0800b003edddae1068sm2330150wmb.9.2023.04.05.07.06.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Apr 2023 07:06:11 -0700 (PDT) From: arthur.cohen@embecosm.com To: gcc-patches@gcc.gnu.org Cc: gcc-rust@gcc.gnu.org, Pierre-Emmanuel Patry Subject: [committed 63/88] gccrs: cli: Update safety warning message Date: Wed, 5 Apr 2023 16:03:47 +0200 Message-Id: <20230405140411.3016563-64-arthur.cohen@embecosm.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230405140411.3016563-1-arthur.cohen@embecosm.com> References: <20230405140411.3016563-1-arthur.cohen@embecosm.com> MIME-Version: 1.0 X-Spam-Status: No, score=-14.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: arthur.cohen@embecosm.com Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762348232998520551?= X-GMAIL-MSGID: =?utf-8?q?1762348232998520551?= From: Pierre-Emmanuel Patry The compiler's warning message about the safety flag did not match cargo-gccrs environment variable name anymore. gcc/rust/ChangeLog: * rust-session-manager.cc (Session::compile_crate): Update the environment variable name. Signed-off-by: Pierre-Emmanuel Patry --- gcc/rust/rust-session-manager.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/rust/rust-session-manager.cc b/gcc/rust/rust-session-manager.cc index 0f460e2d2f4..a086f83a3d0 100644 --- a/gcc/rust/rust-session-manager.cc +++ b/gcc/rust/rust-session-manager.cc @@ -441,7 +441,7 @@ Session::compile_crate (const char *filename) "defining the following environment variable (any value will " "do)\n\nGCCRS_INCOMPLETE_AND_EXPERIMENTAL_COMPILER_DO_NOT_USE\n\nFor " "cargo-gccrs, this means passing\n\n" - "GCCRS_EXTRA_FLAGS=\"-frust-incomplete-and-experimental-compiler-do-not-" + "GCCRS_EXTRA_ARGS=\"-frust-incomplete-and-experimental-compiler-do-not-" "use\"\n\nas an environment variable."); RAIIFile file_wrap (filename);