about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2018-03-19 10:58:30 -0700
committerAlex Crichton <alex@alexcrichton.com>2018-03-25 23:31:41 -0700
commitbd286413443c31c99330358967fb0159de8a3589 (patch)
tree2715fe66ea15d5fb75d911f72012dde10b309bef /src/rustllvm/RustWrapper.cpp
parent445fafaa4b95fdde04751aa523b9e9f06e2c06ea (diff)
downloadrust-bd286413443c31c99330358967fb0159de8a3589.tar.gz
rust-bd286413443c31c99330358967fb0159de8a3589.zip
rustbuild: Disable docs on cross-compiled builds
This commit disables building documentation on cross-compiled compilers, for
example ARM/MIPS/PowerPC/etc. Currently I believe we're not getting much use out
of these documentation artifacts and they often take 10-15 minutes total to
build as it requires building rustdoc/rustbook and then also generating all the
documentation, especially for the reference and the book itself.

In an effort to cut down on the amount of work that we're doing on dist CI
builders in light of recent timeouts this was some relatively low hanging fruit
to cut which in theory won't have much impact on the ecosystem in the hopes that
the documentation isn't used too heavily anyway.

While initial analysis in #48827 showed only shaving 5 minutes off local builds
the same 5 minute conclusion was drawn from #48826 which ended up having nearly
a half-hour impact on the bots. In that sense I'm hoping that we can land this
and test out what happens on CI to see how it affects timing.

Note that all tier 1 platforms, Windows, Mac, and Linux, will continue to
generate documentation.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions