Re: [PATCH 1/2] docs: rust: update instructions for obtaining 'core' source

From: Alice Ryhl
Date: Thu Jul 20 2023 - 09:44:43 EST


Trevor Gross <tmgross@xxxxxxxxx> writes:
> + curl -L https://static.rust-lang.org/dist/rust-src-$(scripts/min-tool-version.sh rustc).tar.gz |
> + tar -xzf - -C $(rustc --print sysroot)/lib \
> + rust-src-$(scripts/min-tool-version.sh rustc)/rust-src/lib/ \
> + --strip-components=3

I think this assumes that the sysroot path has no spaces. I would add
some quotes.

With that fixed, you may add
Reviewed-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>

Alice