docs: rust: Clarify that 'rustup override' applies to build directory
authorViresh Kumar <viresh.kumar@linaro.org>
Tue, 12 Dec 2023 07:43:48 +0000 (13:13 +0530)
committerMiguel Ojeda <ojeda@kernel.org>
Thu, 21 Dec 2023 21:47:40 +0000 (22:47 +0100)
commit711cbfc717650532624ca9f56fbaf191bed56e67
tree4384d37c10d9c96d6f7e0c5a12800b4d328a0e97
parentbe412baf72402bd732e250033e03ad159d060a30
docs: rust: Clarify that 'rustup override' applies to build directory

'rustup override' is required to be set for the build directory and not
necessarily the kernel source tree (unless the build directory is its
subdir).

Clarify the same in the Quick Start guide.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Benno Lossin <benno.lossin@proton.me>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Originally-pointed-out-by: Masahiro Yamada <masahiroy@kernel.org>
Link: https://github.com/Rust-for-Linux/linux/commit/f2238e7
Link: https://lore.kernel.org/r/e2b943eca92abebbf035447b3569f09a7176c770.1702366951.git.viresh.kumar@linaro.org
[ Reworded and fixed quotes for `--path` and `set`. ]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Documentation/rust/quick-start.rst