From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-4316.protonmail.ch (mail-4316.protonmail.ch [185.70.43.16]) (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 D6BA04FF9A; Mon, 18 Dec 2023 17:06:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=proton.me Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=proton.me Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=proton.me header.i=@proton.me header.b="dvw7r8bf" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1702919170; x=1703178370; bh=9+oJSvHYfmmWkH0v3Kj/FSy5h0xeDG9NE3IKj0YFeAU=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=dvw7r8bflGnMjCwV15sMdAHT08G5ZCxzOa8HuR48P7KHI1+HiD0Esoc9UUJPXpPJj 9DhQ62QEAc92fg+JcgMDwmYSe9zv+CHig6mAa+94o1SoB2qP30l368kyWxTw1NcHZ/ E0bGHXQ54djCerYJL1PT5t629FkpbutGqYIwGjjab33fLy51p6IEDVROXCz0w5O9Av fyubdSV2ZTIQC76rF0XdscX5rdZaKZFtGSYl/oFHWPXNJ1xj8Og7WnIyR7O2NDa/yy sxfRtX5ROH+GmpDlyzsiCcxsa9FF58Z9e1CO8pVZqIJtx9FFjIAsk5fekTPAyCwiFl 6Ib6BFIP57lMA== Date: Mon, 18 Dec 2023 17:05:43 +0000 To: Miguel Ojeda , Wedson Almeida Filho , Alex Gaynor From: Benno Lossin Cc: Boqun Feng , Gary Guo , =?utf-8?Q?Bj=C3=B6rn_Roy_Baron?= , 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: In-Reply-To: <20231215124751.175191-1-ojeda@kernel.org> References: <20231215124751.175191-1-ojeda@kernel.org> Feedback-ID: 71780778:user:proton Precedence: bulk X-Mailing-List: rust-for-linux@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 12/15/23 13:47, Miguel Ojeda wrote: > Nowadays all architectures except s390 recommend using `LLVM=3D1` instead= of > `CC=3Dclang`, and since commit a3c6bfba4429 ("Documentation/llvm: refresh > docs") the Kbuild LLVM documentation makes `LLVM=3D1` the way to go: >=20 > We want to encourage the use of ``LLVM=3D1`` rather than just > ``CC=3Dclang``. Make that suggestion "above the fold" and "front and > center" in our docs. >=20 > In particular, that commit removes the examples with `CC=3Dclang`. >=20 > Thus do the same in the Rust Quick Start guide, i.e. remove the `CC=3Dcla= ng` > mentions, especially since the architectures that have had their Rust > support upstreamed (or soon to be upstreamed) are all `LLVM=3D1` ones > anyway. And perhaps by the time Rust is supported for s390 (or new > architectures), it may have moved to `LLVM=3D1` anyway. Otherwise, > this can be added back if needed (or perhaps an extra link to > Documentation/kbuild/llvm.rst). >=20 > This should also help avoiding potential confusion around `CC=3Dclang` [1= ]. >=20 > Link: https://lore.kernel.org/rust-for-linux/6df6e8e5-8d5b-4d3d-91b5-bc0e= 90c424ea@nvidia.com/ [1] > Signed-off-by: Miguel Ojeda Reviewed-by: Benno Lossin --=20 Cheers, Benno