By setting RUSTDOCFLAGS in addition to RUSTFLAGS, this patch allows rustdoc to inherit the modified sysroot. Closes #38.
(Figured I'd log RUSTDOCFLAGS in verbose mode too, in case future versions set it to something different than RUSTFLAGS, and since it's, well, verbose mode. Additionally, passing a reference to Command:env is totally equivalent to passing an owned string. Pretty minor patch.)
By setting
RUSTDOCFLAGS
in addition toRUSTFLAGS
, this patch allowsrustdoc
to inherit the modified sysroot. Closes #38.(Figured I'd log
RUSTDOCFLAGS
in verbose mode too, in case future versions set it to something different thanRUSTFLAGS
, and since it's, well, verbose mode. Additionally, passing a reference toCommand:env
is totally equivalent to passing an owned string. Pretty minor patch.)