Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6647657rdb; Fri, 15 Dec 2023 04:52:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IFdVMgLZ4RwpyHOWeSRjZtGU2Su8RaJL11tTFmr7AvARjn4Uq4FL/Xinb/33T45cf7exd+9 X-Received: by 2002:a05:6808:2385:b0:3b8:b063:9b52 with SMTP id bp5-20020a056808238500b003b8b0639b52mr15889674oib.68.1702644753244; Fri, 15 Dec 2023 04:52:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702644753; cv=none; d=google.com; s=arc-20160816; b=M2qgGj61kuyvpsfUvTvbvwQfNP0tfGhdsOdtk3eHM5aXPErE1aEVRnA4pn/IcKfYxw BKMir4C0pdc6AmDCi0D99yBon9qe5Cm/e+wWJrFJmOT1Vpq+zAps4seUWP/XTJ3kHgBj jvQ7b3vuLMcW6QROhe6LHLEbeX6Eh2bqXDj3JyTXFtotkUr3xyYbZswFf6k3QuJ4KFg3 bWvig2K3YsBrJPfVJFJPHTtNao0rdS8iyfUshLTrNSGoaVHKcelKpM9mgktofr6IceYy SJotl6fo6txTQ6gMPoNAvHBUuESfvBYyI0RDlGMREuuSTsarQXDycf7lS0FIAvjKr7EE y6VA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=/amUsMdukpvUs/gATYcpXgU/bNaTGRBLojO0rCY2bTM=; fh=m52kx4XC3heQwi3YKBvvszbi7vMuolQT76220NzcoIc=; b=G7F5NvQXuDdRZls5vjWjzTXEHygXAk2VmXXyYPkLVYDnvpyfyViCEo45CLfi3s/Rnd SJAopUQisMSioqCC6aBehjfXJevZO/LjiUZwksSVnQ/O92eCj5qWA+ayJWwx580hq352 bw2KHtf0yiHCH54QWrhz9BTxkSWBNAt7mZ9NcFZigvoEsUh31dP03ba1W8mFLpi/Z3j9 PTwNd6yolGz2OmAwMjKBBy2mLDZo06fhio6ODsUmxkO2SviW95B+3W2skVuzcUJlCUhO Y5kT19dPAlCU8ONe7OwyX3x07HlVD1WpuOWME5SbZAbf799QN5+E5Zb9yJWHU1htaEGt GsyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=lmcpd2DB; spf=pass (google.com: domain of linux-kernel+bounces-954-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-954-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id q4-20020a63e944000000b005c659dc546csi12994658pgj.24.2023.12.15.04.52.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 04:52:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-954-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=lmcpd2DB; spf=pass (google.com: domain of linux-kernel+bounces-954-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-954-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id DD73A285F1D for ; Fri, 15 Dec 2023 12:52:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 845F32D04C; Fri, 15 Dec 2023 12:51:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="lmcpd2DB" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-vs1-f44.google.com (mail-vs1-f44.google.com [209.85.217.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B5C362F867 for ; Fri, 15 Dec 2023 12:51:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Received: by mail-vs1-f44.google.com with SMTP id ada2fe7eead31-4647ed7941aso179204137.1 for ; Fri, 15 Dec 2023 04:51:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1702644712; x=1703249512; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=/amUsMdukpvUs/gATYcpXgU/bNaTGRBLojO0rCY2bTM=; b=lmcpd2DByEM8q8tflYaFSLtHYzWvmWU9eYz46Oi1mIBLv1rBRpjCVX7vcqUuDym7J1 aHnlSFyiscrDBPu2YEBEdM375tP8jVN5SGXXEv291rQm7KLMEK2L2MfEOAtrZzRjEzLf kPjsVN4XYPD0TKfE9efTkDa85EvuM5jX3nzlAnwl4EcdjpIcLCjMjorK/4i0JYVj7jSF kkhPeEGc3nRzOPxvkzW6Z9Etq1GKr0oTqr3dpHHfu4PeDe8ex/3tlW0XNjWHnrX1QFXa Jl+qQ8vU4Q55T3TVOc1bWH4f5F3Mz08o5qsyNMn03X/gF4mdpVqoTRjnWmYFxj0OYlco j2UA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702644712; x=1703249512; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/amUsMdukpvUs/gATYcpXgU/bNaTGRBLojO0rCY2bTM=; b=K7VhinxGXEB6c4tsGnVplqJt58ETUK5mEMSnETP4UsIA7/u2aVmlStya7OArtPHARS TcaqdePINmdQapH7GFGcnnQN+xe6rDvZuxhMaKyonPgVcRJsaqvikUwFmx/YrOoLoRjk qflw1Q55XifAJz9DYzVKW4xaYwLs3RT90tnvT9mxsEdc8VFArodUkpmS2L6YCyePjcNc qw0sCJYKOeDLdH5ip/DvOJaZeb57uJWXIyIoy/BwVymrd5OaMK1hQPcKbZYx52Reo9ve 8Xhg5cfwYlmNuvyHJ71q2oGec7OIoffPJ8hB62pJkK26I44+POr7ei6y1cDkxdRigrY5 lS3w== X-Gm-Message-State: AOJu0YwP2rnvL6vjT9daCdRVtc+yp5SN3szuTVvFGGvJG4FiAzmiOC/1 NFJDIuewJ+oBIZbMAJEjn58LizL3sK+RBdSontuTmQ== X-Received: by 2002:a05:6102:ccf:b0:464:426c:a5c with SMTP id g15-20020a0561020ccf00b00464426c0a5cmr11869653vst.18.1702644712467; Fri, 15 Dec 2023 04:51:52 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20231215124751.175191-1-ojeda@kernel.org> In-Reply-To: <20231215124751.175191-1-ojeda@kernel.org> From: Alice Ryhl Date: Fri, 15 Dec 2023 13:51:41 +0100 Message-ID: Subject: Re: [PATCH] docs: rust: remove `CC=clang` mentions To: Miguel Ojeda Cc: Wedson Almeida Filho , Alex Gaynor , Boqun Feng , Gary Guo , =?UTF-8?Q?Bj=C3=B6rn_Roy_Baron?= , Benno Lossin , Andreas Hindborg , 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Dec 15, 2023 at 1:48=E2=80=AFPM Miguel Ojeda wro= te: > > 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: > > 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. > > In particular, that commit removes the examples with `CC=3Dclang`. > > 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). > > This should also help avoiding potential confusion around `CC=3Dclang` [1= ]. > > Link: https://lore.kernel.org/rust-for-linux/6df6e8e5-8d5b-4d3d-91b5-bc0e= 90c424ea@nvidia.com/ [1] > Signed-off-by: Miguel Ojeda Reviewed-by: Alice Ryhl