Received: by 2002:a05:7412:b112:b0:f9:3106:f1c0 with SMTP id az18csp67810rdb; Sun, 17 Dec 2023 21:52:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IFUV9YtlSW6nW6YDyA8KAXDxSXLTMYS0tdnch26bXeoXT1fvto8Aph8K6CQzvnbTXHKg9Xx X-Received: by 2002:a17:902:ced2:b0:1d3:797f:fcec with SMTP id d18-20020a170902ced200b001d3797ffcecmr3417028plg.132.1702878754771; Sun, 17 Dec 2023 21:52:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702878754; cv=none; d=google.com; s=arc-20160816; b=fh1qfNv0VFsIHK5m33DYqu6IIXP7S0qDHQVCGT4lG5gA94hTMS8ZfWfVB8iL5OstsU 7nd5VtqF2AsJxvP3ZGATyN11bDaX/PlHbLN4PKuSdmYK15heL8JGSi55Ko+udCUG5CAh 2Nkifmseb1rTFNw2dAzczHgyXzIM6n7SQYXgSmx3V4dZ/oGCv1NGZlHrYYPuX0rDxlhw Irz6oCvVh3uBTBS53S3A1u9pGFZvegStCVXf8L+srT/M5WUGWp7L5+FNXuUUAxnzZwdg 6CNQbHFleVqVikHGmEOTVyt4p51VlzZGwSBf/u2arlLnu1jVaRdwNyQqCz91afIiTGaD cvUQ== ARC-Message-Signature: i=1; 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=yvwPqpJZdoxCPgLCCQ91PkXr1gejT72qQ4VC8gFnpTs=; fh=dMjN30d94W8WDb+qQae8tp/hNRqt2lgccmRRRxff/pk=; b=GVHMCcztt6vCzLt2en0gy4SxvNVPm7ABgAo+SiEJbwUROv8rmRb6QI/26fis8cY6Ko eXIP/fqefthSqXSD8P3Y/4n7xHU7aVgsOK8Gx8Q8oUnzJQggj2Uenmvg7Z99O7M0Vg7P TMIsPHzYdoGp9T1xZlNYONIpHi6ihBcZW1mQsyn3AqGUQNFlCk1+G+GkZTGoUy30X1OU kQdzWc4+I3MfkoQLXxY9bZsnkGsjF65WZT2GHLh+GGclP+Yxhot40SPD5CIzRqOymw/i w7ZqjAI4gqMuaQolr54Ui5+R+5C/3k/ndbOjUFPTgR7LMuXvsUVONImVNyQCL6OBVIka 07pA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="ObZgNKz/"; spf=pass (google.com: domain of linux-kernel+bounces-3014-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3014-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id p12-20020a170902e74c00b001cc33933e45si17776640plf.42.2023.12.17.21.52.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Dec 2023 21:52:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-3014-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="ObZgNKz/"; spf=pass (google.com: domain of linux-kernel+bounces-3014-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3014-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 6783D2820CF for ; Mon, 18 Dec 2023 05:52:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 58FD96ABD; Mon, 18 Dec 2023 05:52:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ObZgNKz/" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-oi1-f175.google.com (mail-oi1-f175.google.com [209.85.167.175]) (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 9B2E463D2 for ; Mon, 18 Dec 2023 05:52:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-oi1-f175.google.com with SMTP id 5614622812f47-3ba10647a19so2251154b6e.3 for ; Sun, 17 Dec 2023 21:52:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702878742; x=1703483542; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=yvwPqpJZdoxCPgLCCQ91PkXr1gejT72qQ4VC8gFnpTs=; b=ObZgNKz/KunM5NI1SyLCI8fpB66IPjnAWaclin0co5L0JZD0OTsNoCq9ezPsHxHi/L DYtnTtm1VDvRx7snOQPMMoI4ojK/HfBI9CUNhIfROMuYslozdVYxohXSZIyo7jrLYYjG gnKeINiTqU9jj20nuGamiKApUij7SwiY26p8nGeaYHmlfiRcEje1mVGEX3fMxuyBuqQo XqVdBOOjPEWvh4BXd0qDym8YMlo6fOatDdWd8N2naieYU5SLUQgIUiYE+fLnrw7A7e61 uLi8R311klXTZIDbxjq1hxsEW/2Uw/uCf8asTT5bAmOaG6a4OPo+q5JAwI1fcCai/9Q2 E9zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702878742; x=1703483542; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=yvwPqpJZdoxCPgLCCQ91PkXr1gejT72qQ4VC8gFnpTs=; b=grtl3aTLR6qclxjRDcn752X0wYu4p8awzbwFx45VAdaGAfNM6h9IcjslD8i62ljQGe i6F/jMv7TFsT5dHjEmyZXB1K6YUU9tuY89ErhEJlxprsYdTGDfUTXU/3Et6LOvho6VAg uvEx2/yAFDvTOw+aXwvzGrYbkQG5AaJsLOWgeEV09puqbnqwLCBsf0etsbYCtkv6y27B LsHPOoNg4rbcvtzz37YnjBgcpgHTjgSWogx/JaFCaPupV0431QI8XjAFaZw6sHip6OKR JIyHkU5qOWovr98YRKME6cabPE/4VgatmLUG3zE3aSBRRpMEucxC4YZl/I1Wv0OhRwDX a82g== X-Gm-Message-State: AOJu0YynXu04X6DvZMfOJio8xEHaUuJnC2TYZliBMLI4djPHYd6hpRWg ed/g3ZW7nFfNFQq6gOBsESWGNw== X-Received: by 2002:a05:6808:17a0:b0:3b9:d53f:452a with SMTP id bg32-20020a05680817a000b003b9d53f452amr20483672oib.70.1702878742764; Sun, 17 Dec 2023 21:52:22 -0800 (PST) Received: from localhost ([122.172.82.6]) by smtp.gmail.com with ESMTPSA id t19-20020a056a0021d300b006ce77ffcc75sm16344940pfj.165.2023.12.17.21.52.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Dec 2023 21:52:22 -0800 (PST) From: Viresh Kumar To: Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , Boqun Feng , Gary Guo , =?UTF-8?q?Bj=C3=B6rn=20Roy=20Baron?= , Benno Lossin , Andreas Hindborg , Alice Ryhl , Jonathan Corbet , Nathan Chancellor , Nick Desaulniers , Bill Wendling , Justin Stitt Cc: Viresh Kumar , Vincent Guittot , rust-for-linux@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev Subject: [PATCH V3] docs: rust: Document the rustupoverride target Date: Mon, 18 Dec 2023 11:22:16 +0530 Message-Id: X-Mailer: git-send-email 2.31.1.272.g89b43f80a514 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Document the newly added Make target: rustupoverride. Signed-off-by: Viresh Kumar --- V2->V3: - Remove the O= part and document rustupoverride target. Documentation/rust/quick-start.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Documentation/rust/quick-start.rst b/Documentation/rust/quick-start.rst index f382914f4191..c13e2e479e29 100644 --- a/Documentation/rust/quick-start.rst +++ b/Documentation/rust/quick-start.rst @@ -33,10 +33,9 @@ A particular version of the Rust compiler is required. Newer versions may or may not work because, for the moment, the kernel depends on some unstable Rust features. -If ``rustup`` is being used, enter the checked out source code directory -and run:: +If ``rustup`` is being used, run the following Make target:: - rustup override set $(scripts/min-tool-version.sh rustc) + make LLVM=1 rustupoverride This will configure your working directory to use the correct version of ``rustc`` without affecting your default toolchain. If you are not using -- 2.31.1.272.g89b43f80a514