Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp1084644lqo; Fri, 17 May 2024 10:07:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXTVrgYNX0eut2yuzpm4HkoxvRV1szgvR7JC0KprYuy4ocENQZprSgzRVqiSJNSZHJm5H0Ai4R22RR4/rTcG3VkF6uxB9dRFWs06ous0w== X-Google-Smtp-Source: AGHT+IHA5eDmM3EUMBTZ2yjIUbv/gcAvJE77SRKnKNYCqzlJLBNxBiVQPnOTeO5rmWxBU9IJGS3/ X-Received: by 2002:a05:6a20:5504:b0:1af:a35b:a34f with SMTP id adf61e73a8af0-1afde0d5401mr19977910637.25.1715965676026; Fri, 17 May 2024 10:07:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715965676; cv=pass; d=google.com; s=arc-20160816; b=aLvSZjGYyYDduIl5ItVhtFEg+MvL0G+js4MuHl1E907Dcivtcv2a2Iw9X+okHpdy/m nsBpKKhZqFCibGJ61Ib5gvykNQG55LJkLz/DrvODX9fB8WEEB8PxRYrjfmp2Q02LsC1z U0vXtr5NoRrDiFsGtqwHbvmx2jGdCxgI4CfoKaZa394yODGRUYq7+AwbCXpd2KBURfE4 oKzIWLfz62WBPbzXgJMU3Q1Dcq6DuT65uHZrLyVjTX/jUwIVAUnVZ3e6d7ZkzzycF6Sr eKWl4U5sVs0NI9Pw/qrqWXPLilhDK4IX5QkP34zvakzsFAGGhZQDDsaN0tIHKiWN/MNd d6rw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=M3twd7BeWaTAfFEQJ+8FJqaHOiimFj4Rq4rp5WXtwI0=; fh=8pfUhuJhamMDPRJzWGb7aG/XczPnCtX94R/lk7BOPs4=; b=bBwFB+yKfYnUPeA54SAL+BLMQo/pQajDaYTISq4BAnkIMNjZxzNygBhESlH51SNjcj CozfGy9A3JGjdYzC/WLDZOXjdlwvJIaMUr/fLDiSm1/pyseuRkvWPGagPMQcHYqd0sxI pmmulBo93W8vu4fOxcghYka7K4AGyvCjZlf1FkzIY9dMgB3lmBvmc4vAeU3vJmp9cAuP cnC3ODwxgMLIUOzOz5pJiM3LfymKhdrzzOZezLAzGkl9shCiEHRT1R/oewyJxS5l+c53 l0mkT6pV1sQ2SLZKnouXyMixd1YEaj2YzeeSr2DRo9GX4gLgskwI86DD0CSmxIpczvEw FLjw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kN1Y0UuH; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-182376-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182376-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-65c5a29f820si2644458a12.505.2024.05.17.10.07.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 10:07:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-182376-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=@kernel.org header.s=k20201202 header.b=kN1Y0UuH; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-182376-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182376-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 561FEB2218F for ; Fri, 17 May 2024 17:06:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2D3A213DB9B; Fri, 17 May 2024 17:06:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="kN1Y0UuH" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 3F32213D8A8; Fri, 17 May 2024 17:06:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715965587; cv=none; b=M44MfnwCNkF+l8H9jIK8TzggDRYx0XJM0TnVvTUrbDqiLl1bssmCURKYATUlrJOTTkAMQaT4l2nqgnJK/mEsVMASaTs8A37XRq+1imEpQ/ptR6XfzAV6iqdMQSQyUCjeAqvGcd63VbYp5+BN6JR8RAciCYObPhqdISSgLuNWsBY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715965587; c=relaxed/simple; bh=d/iGbHWjoWyhaPNdJOqLEjIUxOpDm9so2jUuJZJzu2Q=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=TlYcqPjwHwUY3BPDDvBlABxLP2vIsAX5c70Mj/ia+FPcUyE2OX7zStVQ94sds0S7QOhUEoSDKcnkh8/IUagWuINAKw4T1h3ZugxuW9eznHYWwl8ECU3RLZASjepHDMxmoIAAS50/rnzN+5yjZOJKNl0tke18zx/Ue286EZ/Fxfw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=kN1Y0UuH; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7F007C2BD10; Fri, 17 May 2024 17:06:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715965586; bh=d/iGbHWjoWyhaPNdJOqLEjIUxOpDm9so2jUuJZJzu2Q=; h=From:To:Cc:Subject:Date:From; b=kN1Y0UuH04ZwTXw78nZc2j7OWDOkVAh1V8+M07v5xX8rXGFAwXboWN+LOFXsVBZE2 OX4gggZQoG6yMWMH7iswxvn0RX1bbAxDy+j3L6xspb70ItJRTFQChJW79H36LlqUnC j+70ITQqVIM4xqVzpEqenPq54HTeaIkMWGNTlkhfx9T8Rv3w7l+eFdinjBGMShf+Q/ cNYw3cysnFvYOF/ihYqZkNukuSvCHUxyX8QZ7SpuF3oDC1KJOEyHHY9PVGfGgTMXqy P263L7jLJzUxF9iVssXkCQp97/oN0A7jIAqfbkc995EWqjmp7YlnRzhQPmVnj9s3rq FsWdNP7s6dqXQ== From: Miguel Ojeda To: Nathan Chancellor , Miguel Ojeda , Wedson Almeida Filho , Alex Gaynor Cc: Nick Desaulniers , Bill Wendling , Justin Stitt , Boqun Feng , Gary Guo , =?UTF-8?q?Bj=C3=B6rn=20Roy=20Baron?= , Benno Lossin , Andreas Hindborg , Alice Ryhl , llvm@lists.linux.dev, rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, patches@lists.linux.dev, Jonathan Corbet , linux-doc@vger.kernel.org Subject: [PATCH] docs: rust: introduce the new kernel.org LLVM+Rust toolchains Date: Fri, 17 May 2024 19:06:15 +0200 Message-ID: <20240517170615.377786-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-Transfer-Encoding: 8bit From: Nathan Chancellor These combined LLVM+Rust toolchains are now available, thanks to Nathan Chancellor (ClangBuiltLinux). Thus introduce them in the Rust Quick Start guide. Signed-off-by: Nathan Chancellor Co-developed-by: Miguel Ojeda Signed-off-by: Miguel Ojeda --- Documentation/rust/quick-start.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/rust/quick-start.rst b/Documentation/rust/quick-start.rst index cc3f11e0d441..6fe69a601134 100644 --- a/Documentation/rust/quick-start.rst +++ b/Documentation/rust/quick-start.rst @@ -16,6 +16,13 @@ under names like ``rustc``, ``rust-src``, ``rust-bindgen``, etc. However, at the time of writing, they are likely not to be recent enough unless the distribution tracks the latest releases. +Prebuilt stable versions of LLVM+Rust are provided on `kernel.org +`_. These are the same slim and fast +LLVM toolchains from :ref:`Getting LLVM ` with versions of Rust +added to them that Rust for Linux supports, depending on the Linux version. Two +sets are provided: the "latest LLVM" and "matching LLVM" (please see the link +for more information). + To easily check whether the requirements are met, the following target can be used:: base-commit: 97ab3e8eec0ce79d9e265e6c9e4c480492180409 -- 2.45.1