Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp3819254rdb; Mon, 11 Dec 2023 00:11:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IHSh0vfL0hBrRQ1Att6WGgyyF8OvS+tS+covMBHvB/lJONB95vxFJ8MFOJcVc3BWzKtknFF X-Received: by 2002:a05:6e02:1d03:b0:35d:701a:bc69 with SMTP id i3-20020a056e021d0300b0035d701abc69mr2703902ila.41.1702282309346; Mon, 11 Dec 2023 00:11:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702282309; cv=none; d=google.com; s=arc-20160816; b=LPZyeQqCz4itgLCtmki77/HI/9ZP4jqURo7lpgsHmJl8hH6w24Vs9wn7GYoG9yB18f YUAzFVWeTaIIQ/yppNFrVzHQbskUFFKxCln19wNjvfpafRG4oLA2KLinmOQkkvH1u9nT bZb0z50ORa5yr86lOnmAAKc1B/0SeGxhTBgLL0tTR67n2/GcgamGxsWiDT04oJwtl6uu nz6acnYjYvWLdXI5DzfCn12ASKIOt6kTm8eXzlU9kQVElR3GflzbmqswDTxwTvsbFPA9 db4cbabpGnp6z5NTs97eYhfeo7iKhNPJKCqyd/9sQCChISXNHGoHuG+NgUN9wrvo24K1 5kOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:in-reply-to:date:subject :cc:to:from:user-agent:references:dkim-signature; bh=qcJzdfqObNDmtw7E9OrdNF6CpUIv0YRzgPXgPrIHK7o=; fh=cPQfTIo5gL5sh8sYsRgKF38u2gJDAVNmy8+ygC2IeRo=; b=qVedLtA9SldbHSL8Rs8dFvLm0zLoeYWQvAubnYYoI4OXxNLK8UzS1NKSMgoQt1iSIC JLzfA5G2tvaQmJiToQLaAuki3ukp6YbtgRqxcVHlm5hY2JObbCseoyCIePg99OHjXnek BnKntUclJaii3GXizCuMsszsG2UINgQANvStgRz0dXr/cDJPFZMCV1xsdD/81kcfxGh4 5cJXEZJXc6gaJwaSZgMLSKUa9QwREsId+vS/l2LUn5yBED5ZBSkQjaerLrA6/wjrECxd X0uEiQM7O8YnW37vAUQCUZeLb8rDipN9zoMovaNMz3ex3rlHCY016A+OT/hhONU8sRFl IPZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@metaspace-dk.20230601.gappssmtp.com header.s=20230601 header.b=VndMP9Rq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id c37-20020a630d25000000b005c65fe43747si5496671pgl.279.2023.12.11.00.11.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 00:11:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@metaspace-dk.20230601.gappssmtp.com header.s=20230601 header.b=VndMP9Rq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id BA64E80942F9; Mon, 11 Dec 2023 00:11:46 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229923AbjLKILc (ORCPT + 99 others); Mon, 11 Dec 2023 03:11:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229808AbjLKILb (ORCPT ); Mon, 11 Dec 2023 03:11:31 -0500 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1081ED for ; Mon, 11 Dec 2023 00:11:36 -0800 (PST) Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-a1c8512349dso552248566b.2 for ; Mon, 11 Dec 2023 00:11:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=metaspace-dk.20230601.gappssmtp.com; s=20230601; t=1702282295; x=1702887095; darn=vger.kernel.org; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:from:to:cc:subject:date:message-id:reply-to; bh=qcJzdfqObNDmtw7E9OrdNF6CpUIv0YRzgPXgPrIHK7o=; b=VndMP9Rqnng4v4Sd3w9eRoLvN0kibuwPDQMdKcLOkKE5tKwpEhsO9CkgEDDEwf2s2Z bS/0oKUdp3/jobvstS8VZgmvh4jNv+F2q1Ixu1sXD8cN6J8/3wgotZZRwjx7vtkKU6ah txq//rzHw5kaFVqN2lTkTINYXHFXCEpRX9f7zUmhVhZpAsqBEQz5ezIkdj3l2eSSGmoh TuNmfWgAi8p4rsHy5Wai/eldjDBPon3mp5usyOCLWZrinHJGUev9KgZczEVAJ1d5Taqe 7ll9J5LGC8aT4on1MzpSnyiTH1+42+gjuwcVI5UcKXBcFsJGEhDyzePPBAR0lYR3kARW YISA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702282295; x=1702887095; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=qcJzdfqObNDmtw7E9OrdNF6CpUIv0YRzgPXgPrIHK7o=; b=Cz5CK0UNsuMhhLcXN3UA1saFVrKcm/xFs8ZkOiUdegzbc1kT1Iun/RpqAKk5TF4xz4 f3O2Md9JgfZYBCBc5YZ0vfAakOqwDmgicKnXhGBVNCmRsH5FjKH2g/F0aQBPdr+JGa3I XC2WUfky4YxA1nmLbC+Dnke+71/StaLJDfiIGNupiyHhYikM1PSoFkA4kntihWYasxBA Te0F2G9vMxLfNlLMefUknlipxDEAjuXimCn700ZUqOZbLOlS+JgZEi8a3EBc9FTHyDIh gHAehYkflNYhxTGnjZTEb6dLwvC5GUkYiIcULZtym864qW91UiJr7ZaBlrGprwWqXvZ+ CR/g== X-Gm-Message-State: AOJu0YyPgjFrZEMeivPNLNk97yYkjZVtDdS/FchBHTQn8lS6hWaYIrkY ZXmEBDDG8I2slqs0mk2f6580Xg== X-Received: by 2002:a17:907:8688:b0:a1d:5b0d:1c42 with SMTP id qa8-20020a170907868800b00a1d5b0d1c42mr2695236ejc.35.1702282295196; Mon, 11 Dec 2023 00:11:35 -0800 (PST) Received: from localhost ([194.62.217.2]) by smtp.gmail.com with ESMTPSA id r25-20020a170906351900b00a1cc1be1146sm4425472eja.217.2023.12.11.00.11.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 00:11:34 -0800 (PST) References: <4738ad1c-eb54-4ad6-98c8-3852de3e8fc3@proton.me> <20231211064742.63l4cmvxe4uso5us@vireshk-i7> User-agent: mu4e 1.10.7; emacs 28.2.50 From: "Andreas Hindborg (Samsung)" To: Viresh Kumar Cc: Miguel Ojeda , Benno Lossin , 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 Date: Mon, 11 Dec 2023 09:09:22 +0100 In-reply-to: <20231211064742.63l4cmvxe4uso5us@vireshk-i7> Message-ID: <87h6kpf9am.fsf@metaspace.dk> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, 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 fry.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 (fry.vger.email [0.0.0.0]); Mon, 11 Dec 2023 00:11:46 -0800 (PST) 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) Best regards, Andreas