rustdoc
rustdoc copied to clipboard
Flag: sysroot
This issue is part of https://github.com/steveklabnik/rustdoc/issues/125
--sysroot
: override the system root
Using this flag looks like this:
$ rustdoc src/lib.rs --sysroot /path/to/sysroot
Similar to rustc --sysroot
, this lets you change the sysroot rustdoc
uses
when compiling your code.
Should we keep this flag or not?
This flag seems important.
I wonder if this could be handled by RUSTFLAGS
?