Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp3866678rdb; Mon, 11 Dec 2023 02:13:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IGwhCWsOmXPqIJhQDldIqlsb9SaOK2+YuzEu9refy9feTwggHTl2tgVUCuLRayNTVT94Fna X-Received: by 2002:a17:90b:3a8e:b0:285:adb0:de3e with SMTP id om14-20020a17090b3a8e00b00285adb0de3emr3146184pjb.34.1702289586295; Mon, 11 Dec 2023 02:13:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702289586; cv=none; d=google.com; s=arc-20160816; b=znynk7eFoHGPEu4h/X7cvCT5UgwzfNEXtJ4HvWswgaJln58pLemDGopBZPB4Ae3k0J ntaR6PGJgQ4bUP17aw8T1ND8FP7SOZfUuYXgD5wVVCgSWphYaPiMIqcPZelXTiQd0ssh GA9qK278xAS9w78UGl1hvuS5pHEsgtsgUPB9P+fMDEc8aa/JmduOYiZfoH0w+ww60W/z zQgisUt3CqJJIRefdgTDBmOg7TWGTpEdlzPDWYXrMDA//TEoa425Quchi42VwJQTlr1b 0upz7Gk++7NkfNEi3yEDQniMi43b4+Z7r3iAkcEhKvUR1NL8u/iqfLQFifIqXlbjPUCt hpPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :feedback-id:references:in-reply-to:message-id:subject:cc:from:to :date:dkim-signature; bh=XMBWxQ9g09DUsP4VV2j3XbcbWqRWZl1DHB9M2r0XYWY=; fh=MjvPytuFnrmrF8SMH7/gnmCygZzxlACutunrlmTDy7w=; b=Hq+mlFrxcvkCf/O88PgBDBCfY7waVpwBjLE4gGUwRORQt2svcRfQP6cr4kNd3SBvUk zR/Z1GL5dy0+bQT36pFvVhJ1j+3bIH+q1+mBIoTjw0gzQ4atDuYia4hyOS9VMJGAb4JW oVLI/hEEf7jvn58wGD+8Izv6rvQWh8CeAMX7RB8EQwb/xuJMdk0MRK+7bonUzdRv4oC6 jfuYXFYrA4bavPrQ26OxxSOj4UaL9dEg5mjhS4bxvkcvl3j0jufKvun59TKUdr70Gakf yW0tWSJ6aDIUVPYgJ2iB+CttwUJZMaw1D5na/S3t+pXKvdIatsbCzHqKll+ZayFdLEQk aVnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@proton.me header.s=protonmail header.b="lkN/rZSP"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=proton.me Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id h18-20020a17090acf1200b0028a3551919dsi5178184pju.52.2023.12.11.02.13.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 02:13:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@proton.me header.s=protonmail header.b="lkN/rZSP"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=proton.me Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id EFBB0804BA44; Mon, 11 Dec 2023 02:13:01 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234780AbjLKKMn (ORCPT + 99 others); Mon, 11 Dec 2023 05:12:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34188 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229654AbjLKKMm (ORCPT ); Mon, 11 Dec 2023 05:12:42 -0500 Received: from mail-40134.protonmail.ch (mail-40134.protonmail.ch [185.70.40.134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A958AB for ; Mon, 11 Dec 2023 02:12:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1702289564; x=1702548764; bh=XMBWxQ9g09DUsP4VV2j3XbcbWqRWZl1DHB9M2r0XYWY=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=lkN/rZSPUtkVJcfviAZRm79S8Bhu7IwZMj2eshxKKa52qAXZdiai24g8K4YB2e0i/ loxzKVmh7JsqGKPwMo8Sdq96ZSJf835mOLOcdfTFerpM+qO2MG34Vg0QGJpoY3zssr ixKoX+J1XeM/YVYDNcqglPqR8PcrKcGAUTSedYiUsukTeHX2RH3omuFJ9/wELt0SMl 9axaSgALdPuQ85YVtn9UnNAZc+OmIuWA9OxKPNyxbOFqwG1K650O39VgLjXjtlnRCj Y2/zJFqYXgizkTRzUKcdpE3IJP1BFj8Q+71uIxt9C7SHx45CrcQ7mjB8FG7IL+6FNt aD0Txs2w97/zw== Date: Mon, 11 Dec 2023 10:12:37 +0000 To: Viresh Kumar , "Andreas Hindborg (Samsung)" From: Benno Lossin Cc: Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , Boqun Feng , Gary Guo , =?utf-8?Q?Bj=C3=B6rn_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: In-Reply-To: <20231211082342.dkcnlamsyaqxaylg@vireshk-i7> References: <4738ad1c-eb54-4ad6-98c8-3852de3e8fc3@proton.me> <20231211064742.63l4cmvxe4uso5us@vireshk-i7> <87h6kpf9am.fsf@metaspace.dk> <20231211082342.dkcnlamsyaqxaylg@vireshk-i7> Feedback-ID: 71780778:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.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 (pete.vger.email [0.0.0.0]); Mon, 11 Dec 2023 02:13:02 -0800 (PST) On 12/11/23 09:23, Viresh Kumar wrote: > 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/qu= ick-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 requir= ed. Newer versions may or >>> may not work because, for the moment, the kernel depends on some unsta= ble >>> Rust features. >>> >>> -If ``rustup`` is being used, enter the checked out source code directo= ry >>> -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=3D $(scripts/min-tool-ver= sion.sh rustc) >=20 > Hmm, this sounds good too. In that case the above line can be changed to: >=20 > "If ``rustup`` is being used, run::" >=20 > Looks okay ? I think it should also mention that you do not need the `--path=3D`. It might be confusing for new users who do not know where the build directory is. It might also work to put both commands there (i.e. with `--path=3D` and without) and explaining what each of them do. --=20 Cheers, Benno