about summary refs log tree commit diff
path: root/src/bootstrap/tool.rs
AgeCommit message (Collapse)AuthorLines
2017-08-15Add clippy as a submoduleOliver Schneider-0/+38
2017-08-13Build rustdoc with the native build tripleMark Simulacrum-1/+1
2017-08-13Cargotest needs only one rustdoc.exe to exist on WindowsMark Simulacrum-1/+4
2017-08-13Clean tools after building libstd/libtest/librustc.Mark Simulacrum-6/+4
This fixes the bug we previously had where we'd build a libtest tool after building a libstd tool and clear out the libstd tool. Since we clear out all tools for a given stage on invocations of CleanTools after lib{std, test, rustc} change, we need to make sure that all tools built with that stage will be built after the clearing is done. The fix contained here technically isn't perfect; there is still an edge case of compiling a libstd tool, then compiling libtest, which will clear out the libstd tool and it won't ever get rebuilt within that session of rustbuild. This is where the caching system used today shows it's problems -- in effect, all tools depend on a global counter of the stage being cleared out. We can implement such a counter in a future patch to ensure that tools are rebuilt as needed, but it is deemed unlikely that it will be required in practice, since most if not all tools are built after the relevant stage's std/test/rustc are built, though this is only an opinion and hasn't been verified.
2017-08-13Build rustdoc only at the top stageMark Simulacrum-3/+3
2017-08-13Build rustdoc with the stageN compiler in N >= 2.Mark Simulacrum-0/+4
This permits proc macro crates to correctly work with rustdoc.
2017-08-13Make the message for building rustdoc slightly nicerMark Simulacrum-32/+48
2017-08-13Add ability to ignore git when building rust.Mark Simulacrum-1/+1
Some users of the build system change the git sha on every build due to utilizing git to push changes to a remote server. This allows them to simply configure that away instead of depending on custom patches to rustbuild.
2017-07-27Correct a few run.host invocations where run.target is intended.Mark Simulacrum-3/+3
2017-07-27Explain why we subtract one from the stageMark Simulacrum-0/+3
2017-07-27Build rustdoc on-demand.Mark Simulacrum-1/+52
Rustdoc is no longer compiled in every stage, alongside rustc, instead it is only compiled when requested, and generally only for the last stage.
2017-07-27Change tools to take a compiler instead of a stage.Mark Simulacrum-32/+29
2017-07-25Bump master to 1.21.0Alex Crichton-1/+1
This commit bumps the master branch's version to 1.21.0 and also updates the bootstrap compiler from the freshly minted beta release.
2017-07-20Change make_run signature to taking a RunConfig struct for refactorability.Mark Simulacrum-32/+18
2017-07-20Add an optional condition to constrain defaults.Mark Simulacrum-8/+4
Utilized primarily to not be a default rule unless some configuration is given (e.g., compiler docs are enabled).
2017-07-20Remove step.rs commentsMark Simulacrum-91/+0
2017-07-20Fix a few issues found by comparing past/presentMark Simulacrum-6/+6
2017-07-20Implement available paths list.Mark Simulacrum-13/+13
2017-07-20Require should_run to be implemented.Mark Simulacrum-0/+8
2017-07-20Utilize interning to allow Copy/Clone stepsMark Simulacrum-49/+58
2017-07-20Remove core_intrinsics feature gateMark Simulacrum-0/+6
2017-07-20Cleanups and fixes throughoutMark Simulacrum-3/+3
2017-07-20Fix more incorrectly transitioned codeMark Simulacrum-5/+30
2017-07-20Update to toml 0.4Mark Simulacrum-1/+1
2017-07-20Finish fixing warnings and errors. Bootstrap builds.Mark Simulacrum-1/+1
2017-07-20Fix tool_cmdMark Simulacrum-3/+5
2017-07-20Move tool_cmd to tool.rsMark Simulacrum-0/+41
2017-07-20Fixes warnings and errors introduced while moving code aroundMark Simulacrum-9/+6
2017-07-20Change code to work with the new systemMark Simulacrum-80/+249
2017-07-20Move code into Step trait implementations.Mark Simulacrum-0/+205
No changes are introduced to code body. This commit will not build; it is done to permit a better diff in later commits.