Closed
Description
Currently there is no way to pass arbitrary compiler flags to rustdoc. This means that I can't use rustdoc to check cross compiled libraries. For example, checking i686-unknown-linux-gnu
from x86_64-unknown-linux-gnu
is impossible because I can't pass --target
to rustdoc.
I've worked around this issue for now by disabling doctests in Servo, but that is not ideal.