Commit f2238e7
committed
docs: rust: add a note about rustup override set
This is just FWIW, but O= changes the working directory before the
build starts.
If you do 'rustup override set' in the source tree and O= points a
directory outside, the version override is not effective.
For example,
$ rustup override set $(scripts/min-tool-version.sh rustc)
$ make LLVM=1 O=../build-dir
RUSTUP_TOOLCHAIN works irrespective of the working directory. Anyway,
people will eventually find a way they like.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>1 parent 1cb292c commit f2238e7
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
41 | 45 | | |
42 | 46 | | |
43 | 47 | | |
| |||
0 commit comments