Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp434271rdb; Thu, 21 Dec 2023 13:42:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IEOqXhyw6YvriBQ5tBfYU+i5mQ/+6B9dU9v3GaFT4cj9X5nBa7x2xQ/Fp9iJj2ksYw6XRIw X-Received: by 2002:a17:902:d30d:b0:1cf:9790:f244 with SMTP id b13-20020a170902d30d00b001cf9790f244mr324760plc.47.1703194971839; Thu, 21 Dec 2023 13:42:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703194971; cv=none; d=google.com; s=arc-20160816; b=ukHx9+MyKjDb0aQXJgNPLEXUEF14wJ+U/zGAlxljy24kmEXsZIsOa+WlQvqmy5O0pF +ZHWuUZO8pKUE/xGBPj7TUCRzKxL3itwpLCPsu+D/S+bE2MvMJX7DrNQUuJFmOGKumFt U5LwgqXpprXHoo1UTtVL8lbVjkaVX9FmifgUIDmEhr97R4+lFR0Fsz3tDCHKaHFY0y9f Un8EEMDuO6cSPas20uyDEBYPyhwEtTB4ohTZ5zQNGYOFve//9Snso9sEWqXduVpuZ91i smysXvIPjs26FfWJZm6+EtW8eAp1KPtnzOKKjHk/jXTG3SFXgyyffv6O5g0WpsCOc+yQ GdtA== 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=Rid+g3xZdJDgqp/Yc2xW5mOJwNnrU6NKIQJkfAyL0OA=; fh=nugOdZFHE967LkbfbvHUY/W2vvjDt9np62/5dzwsNF4=; b=IKkGaviTnjRBMfJLKgOtiXkrt62B+b5t0NJMbD+JMWqG/FRvO6ARern4WLL385uxwW DKt9kbslZdAYWIuwfWJHGLIZDERamPwojzH99lTVTd6fKubjpo17O+wyDJh7UOklaMU/ qDLA/E3FXBo1W3GB/tYEYDQvt4Z4k/Ej1BBXQsgLXOrpdArogF8iNl0urOUGVIYTI8RM JvyxZzK5/x+HmvCnsbsZG8GV4lB+yS3Seq3JGHXvYTjn4wUpUca/AA3CYXmZogki9tGo gSZ7TyIjmDdmjDQZTNPNcF0qOcBBAI6Cnb6qhQkcsv7DUec1qGK4eS9ps2scXVHgCnmF IZ8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=jXDORxV+; spf=pass (google.com: domain of linux-kernel+bounces-9093-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9093-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 f4-20020a170902e98400b001d0c205708fsi2031686plb.186.2023.12.21.13.42.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 13:42:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-9093-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=@gmail.com header.s=20230601 header.b=jXDORxV+; spf=pass (google.com: domain of linux-kernel+bounces-9093-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9093-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 07029B22755 for ; Thu, 21 Dec 2023 21:42:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 454C877645; Thu, 21 Dec 2023 21:42:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="jXDORxV+" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-yb1-f181.google.com (mail-yb1-f181.google.com [209.85.219.181]) (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 4550FA5B; Thu, 21 Dec 2023 21:42:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-yb1-f181.google.com with SMTP id 3f1490d57ef6-dbdb5e37f93so1195324276.3; Thu, 21 Dec 2023 13:42:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703194935; x=1703799735; 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=Rid+g3xZdJDgqp/Yc2xW5mOJwNnrU6NKIQJkfAyL0OA=; b=jXDORxV+wKg3EANpQVSXrPPrOMKvaYts+sOabSekqwKsu512y2dhDH1eoIlpUZEsQm 4JD4Ayez+eupx17KVta0ya16t99O1YNEjN8I204J4gBhLhtGJewQYNH4uZp3y1xVb1Yx Hfw2D+U/9ZwxIfkGNK16HJGZ1CKLnuPcU/IZHNPG17PIRiE33svjQrAqZfq9Gp5+d4aA 8ZvEoqMAuFlfkTRNjd9ONfR6euCV2hh0VAiD6pxfsq627LsnJayJU1JUSbxxbMJHvvZB +pOEVrYKV86ULifpPSBj5aL3zx/8QpCojqJM9XQ9v48J5Kbtfq0GTHrzys3jJ7UQAnQY 3oAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703194935; x=1703799735; 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=Rid+g3xZdJDgqp/Yc2xW5mOJwNnrU6NKIQJkfAyL0OA=; b=Euq86DPWKPRfJgf1yha9YRfBOZulSTFJo/ZUvZFf3BktRU2H1k1wvLorwt/WzYWXko e1KShOyFP6dvD03LJXn2j+krCT3a19BB3wO/nuBxF1TBTfbiiUg340UrYjDDPAs/OMwO L38DstwvUiyD97d7/6FIYxkNz+2EXxUYS3NTZtPm0vo77j0qFxvdomlnPYTJbbtyeslM wXsNdl95glT2pT1mnWw+e+axGM6x4s5XjdfPuv65xZjPefSdIeK1xWLbeYXy1WMb5P8t qCcePlNe8X7CRJrKAUOr+0U9Y/B21IREiwaJmEn5d9hz7WDGkPJuNSOO5EFJnHbHQAW1 BC6A== X-Gm-Message-State: AOJu0Yzmoz5eNnzzwF+vJEOXeE7bWFrqPo7QA1O17vTCmZ/GJJISqeTj ac/+vL8+evivi6nyo6aL91AmUXZbdyJR2t2N5pg= X-Received: by 2002:a25:d782:0:b0:dbd:6506:d8df with SMTP id o124-20020a25d782000000b00dbd6506d8dfmr388370ybg.74.1703194935306; Thu, 21 Dec 2023 13:42:15 -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: Miguel Ojeda Date: Thu, 21 Dec 2023 22:42:04 +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 , 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 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 Applied to `rust-next` -- thanks everyone! Cheers, Miguel