Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6710727rdb; Fri, 15 Dec 2023 06:28:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IFu1LTbImUkgZeZZlrm8hn5q9P4g81ke7up0ZCvZSm+vOqWkuskWhqQIYv8rzaldZT+v9mk X-Received: by 2002:a05:6a00:39a1:b0:6d0:99da:eadf with SMTP id fi33-20020a056a0039a100b006d099daeadfmr4672019pfb.44.1702650530963; Fri, 15 Dec 2023 06:28:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702650530; cv=none; d=google.com; s=arc-20160816; b=e0ImeA1R8cjIT6AI99gHt6B8cMySggttcgNagkSzzxPvlhWVIrNBwTqEe+m8CPfmGY 3zNKy9Df1Bh0J8gp4zOmXrCQi/DT2NEUt6aXf1Hweh1hVZjRsx/lLbNLWfCgblsNZE1u SkW+AWTEysgKWW3Dxy1LwxMOvuCr76IrpImjhRT99HED30EZ2VaFeneq+ylbJJiLN/Z0 UdgWoGrtiGcnSMw+b9viCM4e+qsNVJ1+4asQZkIhoMXnQ7ECFB4oOLE5QJXN+scn3DQL uoqBbn/FV3XnOsXIiFNULI9NHFvO7FAi0IoMtICQUkJckcBulKydlmHWj7ab549JQWyR b4rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:ironport-hdrordr:ironport-data:dkim-signature; bh=rtGpcSBAa+bZIu1Cx5ZRUunKjM+Koy2IkGWED7zM6Sw=; fh=ljbQFsp2ORhes6RXWrfZf5rhCtPHl8XC+AIFtbebRZc=; b=qrUVsa8b3TFq+58VEwnLEmJD9Wy+/kDbzUm3gQ/c6+RKfJ61LRYT+8qfVTEoYlJLQb HmqxAZ/80SEJX3wVESSqZX507pKN4gWbEOwdZ2bU7GQGR0nZhM3A8RUUiGkva2SF3fwe kdioxTLV16F9AY6kbNgyJEbSnjmQQ5LHpc4h94T02FcVgo4pFYaENhzVw6KPRncHivq5 em5rFmclUXaFm04ZJY0ujH+CJL9EenDv9ZPF6NMMndCtL/3+izo9ar1k6tm53+ghhAbc R8F21LsKKt6++a2duPUFMdHuzN0t6jStS90Fwm8M/JDu+kLKSa2AOxOkcXA14PN//3Rr K5iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cisco.com header.s=iport header.b=AfKlD1Lv; spf=pass (google.com: domain of linux-kernel+bounces-1106-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1106-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=cisco.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id m10-20020a056a00080a00b006d0d83a11bcsi4264262pfk.102.2023.12.15.06.28.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 06:28:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-1106-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@cisco.com header.s=iport header.b=AfKlD1Lv; spf=pass (google.com: domain of linux-kernel+bounces-1106-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1106-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=cisco.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id A11D5B21B02 for ; Fri, 15 Dec 2023 14:28:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0D8523175F; Fri, 15 Dec 2023 14:28:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=cisco.com header.i=@cisco.com header.b="AfKlD1Lv" X-Original-To: linux-kernel@vger.kernel.org Received: from aer-iport-4.cisco.com (aer-iport-4.cisco.com [173.38.203.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8724F31735; Fri, 15 Dec 2023 14:28:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=cisco.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cisco.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.com; i=@cisco.com; l=1242; q=dns/txt; s=iport; t=1702650517; x=1703860117; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=rtGpcSBAa+bZIu1Cx5ZRUunKjM+Koy2IkGWED7zM6Sw=; b=AfKlD1LvbRzFg0FtEl/tq5u/GcQVAyAup/9E326afrAAMWc5wNp0RYHG H3JoWj5Sh1MVSzQ9XWTSkK/hjb0I+pJPaNpAeaPPGBS+pRBOK2vlEXllI mCyOlzADe2u9hE2uTkhonatSGyhcBRBDjRYpZmwgiPjPA5rASqBtXerHi E=; X-CSE-ConnectionGUID: Ea8JoieSQcKM1hK/F0wyog== X-CSE-MsgGUID: 2lIXEF/3RZmN8Lx+OVNwdA== X-IPAS-Result: =?us-ascii?q?A0AbAQADYnxllxbLJq1aHgEBCxIMQIFEC4IRgSNWLhJIB?= =?us-ascii?q?I1KiGqSWoslgSUDVg8BAQENAQE7CQQBAYUGAocxJzQJDgECBAEBAQEDAgMB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iUNC6WNwvwUOwIzoiu1shUvaoF3a5CpQazQ QqO/NIcUYhly+u7eGP90DENN7zZvdlNw2G6xa1scC3HCNpfoePvvbN6ZELX1kSw7dJdbesY/ AvWkJVMsFzj10tyYozuY+I93z3kE0Hsmp4P7vkyaLIHQCJyor2eSfQw0hPL3aw= IronPort-HdrOrdr: A9a23:Jf+cha+mPhaclPTgDcJuk+D3I+orL9Y04lQ7vn2ZhyY7TiW9rb HKoB17726XtN9/YhsdcLy7VZVoBEmskaKdgrNhXotKPjOGhILAFugLhrcKgQeBJ8SUzIBgPM lbH5RWOZnZEUV6gcHm4AOxDtoshOWc/LvAv5a485+oJjsaEp2JKGxCe2CmLnE= X-Talos-CUID: =?us-ascii?q?9a23=3ABTKwDGkwtJoYBvThQlyoJrOhjnzXOVDUnFXXIkK?= =?us-ascii?q?DMG1KbeSVahi+oLx1lMU7zg=3D=3D?= X-Talos-MUID: =?us-ascii?q?9a23=3ArQek7w0rU18T4A+NZln6zXWjLzUjuaCPOG0j1s4?= =?us-ascii?q?8icyiZQhgeBCjqiu7a9py?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-AV: E=Sophos;i="6.04,278,1695686400"; d="scan'208";a="9923272" Received: from aer-iport-nat.cisco.com (HELO aer-core-4.cisco.com) ([173.38.203.22]) by aer-iport-4.cisco.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Dec 2023 14:27:05 +0000 Received: from localhost (ams3-vpn-dhcp3724.cisco.com [10.61.78.140]) (authenticated bits=0) by aer-core-4.cisco.com (8.15.2/8.15.2) with ESMTPSA id 3BFER4AZ022079 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 15 Dec 2023 14:27:04 GMT Date: Fri, 15 Dec 2023 16:27:03 +0200 From: Ariel Miculas To: Miguel Ojeda Cc: Wedson Almeida Filho , Alex Gaynor , Boqun Feng , Gary Guo , =?utf-8?B?QmrDtnJu?= Roy Baron , Benno Lossin , Andreas Hindborg , Alice Ryhl , rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, patches@lists.linux.dev, Jonathan Corbet , Nathan Chancellor , Nick Desaulniers , Bill Wendling , Justin Stitt , linux-doc@vger.kernel.org, llvm@lists.linux.dev Subject: Re: [PATCH] docs: rust: remove `CC=clang` mentions Message-ID: References: <20231215124751.175191-1-ojeda@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231215124751.175191-1-ojeda@kernel.org> X-Authenticated-User: amiculas@cisco.com X-Outbound-SMTP-Client: 10.61.78.140, ams3-vpn-dhcp3724.cisco.com X-Outbound-Node: aer-core-4.cisco.com On 23/12/15 01:47PM, Miguel Ojeda wrote: > Nowadays all architectures except s390 recommend using `LLVM=1` instead of > `CC=clang`, and since commit a3c6bfba4429 ("Documentation/llvm: refresh > docs") the Kbuild LLVM documentation makes `LLVM=1` the way to go: > > We want to encourage the use of ``LLVM=1`` rather than just > ``CC=clang``. Make that suggestion "above the fold" and "front and > center" in our docs. > > In particular, that commit removes the examples with `CC=clang`. > > Thus do the same in the Rust Quick Start guide, i.e. remove the `CC=clang` > mentions, especially since the architectures that have had their Rust > support upstreamed (or soon to be upstreamed) are all `LLVM=1` ones > anyway. And perhaps by the time Rust is supported for s390 (or new > architectures), it may have moved to `LLVM=1` anyway. Otherwise, > this can be added back if needed (or perhaps an extra link to > Documentation/kbuild/llvm.rst). > > This should also help avoiding potential confusion around `CC=clang` [1]. > > Link: https://lore.kernel.org/rust-for-linux/6df6e8e5-8d5b-4d3d-91b5-bc0e90c424ea@nvidia.com/ [1] > Signed-off-by: Miguel Ojeda Reviewed-by: Ariel Miculas