Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp3823604rdb; Mon, 11 Dec 2023 00:23:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IHt/KcVRrRVEz1oCOGOXVDJ08AEO0uEPCoWPW1vz/xU3eMuD1rbXvr3agtzjeY019F524Lo X-Received: by 2002:a05:6a20:1586:b0:190:53c1:fed1 with SMTP id h6-20020a056a20158600b0019053c1fed1mr2121117pzj.40.1702283037644; Mon, 11 Dec 2023 00:23:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702283037; cv=none; d=google.com; s=arc-20160816; b=um/fjse1stcm96y2CYZexPT9Mjl5FI20IJM/nHVRGkNZAN4HfsYlYM4o4AxmvMDYB0 tDQv+ck0Iy1RABYB1f0y+luwd2Y7buEkn+zKKAnd/BeFmlO71elJOn1lZdoL8xHkm4Os AgVnouU0zv4fNLTa8XEV3MjPGHqTReu6HeGrcWMXTIgtTQeo7dVZk6HINIb2k4uCBIx7 ElpTrM+9Fi5DNpLHGVFQ0hT7bTqdKtG5TfqvFaxU0U4hlrDnm1kf3KiKkq7XkOlGRGzF gOf4O12DqPCXSObDBzHm0HY4+uWbnO3XkiJNTAan3Z8BkeILmrjdQQm3lOtyBX71l6x3 qaBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=9SGMAohI1bI080siIkPTaq7KnlqYCY8ucsxsXTXtBIQ=; fh=kODI498ouSjzmVuuD/qKjEnGYLEkVjQPZfUoMMDQHaw=; b=Lw4gVZrSH1OoLCr68Mh1vyhfB7zzFPcSMlTp6rxvjxRwy9nwHD4AYfSrI2Ipmi4OFQ o+su2+T3doA9UsfwbTBfMwK9Q8VD+XWtCKQUeuLo6wg7+SHVyBUeI3hIvaVo1lvzCX0M O602ggBSSo3BcJ+BtZBtIlgOt4xgFTT1pD2XILmWDUE8W4f/IyC3TMmg/mreUlBKyPnv pY/w9jwF1BuWvMNyXKS6FCm7B0Rynd3avZotKVbDGYzL1iSoTPQcWge2pJu5FqobsrbB xw1VTfERExTxFBHPeguhuUEwKPE6/OH+amhlzPy39oVhlsUpj3ViQIeI3AeHq84iftUf TxUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=r6xf+iJQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id x23-20020a17090abc9700b00286c80ac075si7158605pjr.177.2023.12.11.00.23.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 00:23:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=r6xf+iJQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 6C35A809078C; Mon, 11 Dec 2023 00:23:55 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233767AbjLKIXl (ORCPT + 99 others); Mon, 11 Dec 2023 03:23:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53352 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229463AbjLKIXj (ORCPT ); Mon, 11 Dec 2023 03:23:39 -0500 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E06FBD5 for ; Mon, 11 Dec 2023 00:23:45 -0800 (PST) Received: by mail-pj1-x1030.google.com with SMTP id 98e67ed59e1d1-2851a2b30a2so2897018a91.3 for ; Mon, 11 Dec 2023 00:23:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702283025; x=1702887825; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=9SGMAohI1bI080siIkPTaq7KnlqYCY8ucsxsXTXtBIQ=; b=r6xf+iJQQBao2+2QuLGFBT6ysxoN2/o4W96/K6c0U2FKKuET66to4MpA0wpCSK8fO1 sOCtPN9DE/xRk/y0FQchypmp229KDq7qF+YBs457x45NLBvQj8oPCp6EgDMhMxfpF21o 6hnHxbeSSmxRQg7u+kzk5ygd2jbp5DnmztZj1E1Ry63HzVz/IXF5XDjDvBOcT2fEeJks nCcOR/qhKyfuE/wkMXSsJzLD3Ds7VT852VEMfbt+dgyVlUdsAlXZv28k5TF2HeauoXVB eBOt5Ybt2IIgpIdwAGBWEDfYyJzfN8s6BF4SCzXzYi8JhHofrLmqwuOwzLEPrta8Wrex FbDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702283025; x=1702887825; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=9SGMAohI1bI080siIkPTaq7KnlqYCY8ucsxsXTXtBIQ=; b=ZOVpBZF3FncqBzxXIsA+8RupmUeJEltTQiIDXYxX0JPjA/35xcUCUGFRJcxJ6Abktv q5aLlnndn+G2nNtqjXefmPzkgX5RhuBclnzq7OGtVMIffJpDmO2oeRrBIHVHu+uopZzh b+tOU2aS4wXTrQiUl7TmEt3i7s32IJuTRFQ5T2bef8kTeZFHUN7W5lpPBncn5ijla8yP az3wxCV1B6JhCTkTIBvTcPA3hX1jdNOu9dbM4uaCTikIoI4j7rZgrIqzHcj83Eiap3nx uNB6gCBMVoP1kEGGU/K2HnPxzdUVWP6TyV3ITGKMm2sxhqPr3bwjk0HblTRVbKPyMQwg m7Ig== X-Gm-Message-State: AOJu0YyFooFjH6UgMOWGgIpeN+9xC7Jr7fhPk9Yaktl1CvdFCKUyvDuy nCgjaDc4w2Uvt/bgDj4lrFcLJw== X-Received: by 2002:a17:90a:df86:b0:28a:464d:5ecb with SMTP id p6-20020a17090adf8600b0028a464d5ecbmr1681094pjv.36.1702283025392; Mon, 11 Dec 2023 00:23:45 -0800 (PST) Received: from localhost ([122.172.82.6]) by smtp.gmail.com with ESMTPSA id c11-20020a17090a020b00b00286d75e10e4sm8527933pjc.37.2023.12.11.00.23.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 00:23:44 -0800 (PST) Date: Mon, 11 Dec 2023 13:53:42 +0530 From: Viresh Kumar To: "Andreas Hindborg (Samsung)" Cc: Miguel Ojeda , Benno Lossin , Alex Gaynor , Wedson Almeida Filho , Boqun Feng , Gary Guo , =?utf-8?B?QmrDtnJu?= Roy Baron , Alice Ryhl , Jonathan Corbet , Vincent Guittot , rust-for-linux@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] docs: rust: Clarify that 'rustup override' applies to build directory Message-ID: <20231211082342.dkcnlamsyaqxaylg@vireshk-i7> References: <4738ad1c-eb54-4ad6-98c8-3852de3e8fc3@proton.me> <20231211064742.63l4cmvxe4uso5us@vireshk-i7> <87h6kpf9am.fsf@metaspace.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87h6kpf9am.fsf@metaspace.dk> X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 11 Dec 2023 00:23:55 -0800 (PST) On 11-12-23, 09:09, Andreas Hindborg (Samsung) wrote: > > Thanks for fixing this Viresh! > > Viresh Kumar writes: > > > diff --git a/Documentation/rust/quick-start.rst b/Documentation/rust/quick-start.rst > > index f382914f4191..dee787f92d26 100644 > > --- a/Documentation/rust/quick-start.rst > > +++ b/Documentation/rust/quick-start.rst > > @@ -33,14 +33,17 @@ 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, enter the kernel build directory and run:: > > > > rustup override set $(scripts/min-tool-version.sh rustc) > > How about just specifying the path here: > > rustup override set --path= $(scripts/min-tool-version.sh rustc) Hmm, this sounds good too. In that case the above line can be changed to: "If ``rustup`` is being used, run::" Looks okay ? -- viresh