rustdoc icon indicating copy to clipboard operation
rustdoc copied to clipboard

Flag: sysroot

Open steveklabnik opened this issue 7 years ago • 2 comments

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?

steveklabnik avatar Aug 10 '17 17:08 steveklabnik

This flag seems important.

steveklabnik avatar Aug 10 '17 17:08 steveklabnik

I wonder if this could be handled by RUSTFLAGS?

euclio avatar Aug 15 '17 15:08 euclio