summary refs log tree commit diff
path: root/src/bootstrap/builder.rs
AgeCommit message (Collapse)AuthorLines
2017-08-22Introduce crt_static target option in config.tomlSamuel Holland-0/+4
This controls the value of the crt-static feature used when building the standard library for a target, as well as the compiler itself when that target is the host.
2017-08-16Implement a temp redirect for cargo docsCarol (Nichols || Goulding)-1/+1
As discussed in https://github.com/rust-lang/cargo/issues/4040#issuecomment-321639074 This is a redirect meant to be replaced once cargo docs have been converted to mdbook. We just want *a* URL to ride the trains for now so that we can print doc.rust-lang.org/cargo in the paper book and guarantee that it will go *somewhere* useful by the time the book is printed. Implemented as a meta redirect in HTML because we don't currently have any google juice at doc.rust-lang.org/cargo to lose.
2017-08-15use field init shorthand EVERYWHEREZack M. Davis-5/+5
Like #43008 (f668999), but _much more aggressive_.
2017-08-15Auto merge of #43863 - steveklabnik:ship-the-rustdoc-book, r=frewsxcvbors-1/+1
Ship the rustdoc book Fixes #42322, as it's the last step. Blocked on https://github.com/rust-lang/rust/pull/43790, though they will not conflict. r? @rust-lang/docs
2017-08-14start building the rustdoc booksteveklabnik-1/+1
2017-08-13Rollup merge of #43814 - Eijebong:fix_typos2, r=petrochenkovGuillaume Gomez-2/+2
Fix some typos Follow up of #43794 If refined my script a little bit and found some more.
2017-08-13Correct code to not run host-only tests.Mark Simulacrum-3/+1
2017-08-13Build rustdoc only at the top stageMark Simulacrum-11/+8
2017-08-13Unify flags into config.Mark Simulacrum-19/+12
This introduces a slight change in behavior, where we unilaterally respect the --host and --target parameters passed for all sanity checking and runtime configuration.
2017-08-12Fix some typosBastien Orivel-2/+2
2017-08-08pass rustc_libdir instead of sysroot_libdir() for running rustdoc from rustbuildSébastien Marie-1/+1
suggestion from Mark-Simulacrum
2017-07-29rustbuild: Enable building LLVMAlex Crichton-1/+3
I use this from time to time debugging LLVM builds, useful to have!
2017-07-27Make sure CFG_RELEASE_CHANNEL is always set.Mark Simulacrum-0/+4
Previously we'd build libsyntax without it when documenting and that'd cause us to recompile it when building normally for no reason.
2017-07-27Build rustdoc on-demand.Mark Simulacrum-7/+21
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-20Change make_run signature to taking a RunConfig struct for refactorability.Mark Simulacrum-8/+16
2017-07-20Add an optional condition to constrain defaults.Mark Simulacrum-5/+18
Utilized primarily to not be a default rule unless some configuration is given (e.g., compiler docs are enabled).
2017-07-20Check RLS testsMark Simulacrum-1/+2
2017-07-20Don't run host-only tests when targeting another platformMark Simulacrum-3/+3
2017-07-20Allow iterating over step descriptions.Mark Simulacrum-107/+113
This simplifies code and allows working mostly with normal Rust instead of macros.
2017-07-20Implement available paths list.Mark Simulacrum-7/+98
2017-07-20Krate -> CrateMark Simulacrum-2/+2
2017-07-20Remove outdated code.Mark Simulacrum-13/+0
Relevant sys crates handle this properly.
2017-07-20Remove TypeId from stack in BuilderMark Simulacrum-9/+9
2017-07-20fail in case nothing to run was foundGuillaume Gomez-0/+5
2017-07-20Require should_run to be implemented.Mark Simulacrum-2/+13
2017-07-20Utilize interning to allow Copy/Clone stepsMark Simulacrum-51/+48
2017-07-20Remove core_intrinsics feature gateMark Simulacrum-0/+4
2017-07-20Fix a few errors introduced during rebase.Mark Simulacrum-1/+2
2017-07-20Cherry pick changes from ce3abc5801f94292be9bc5fbe00b52f1ccb28672.Mark Simulacrum-2/+7
Fix stage 2 builds with a custom libdir. When copying libstd for the stage 2 compiler, the builder ignores the configured libdir/libdir_relative configuration parameters. This causes the compiler to fail to find libstd, which cause any tools built with the stage 2 compiler to fail. To fix this, make the copy steps of rustbuild aware of the libdir_relative parameter when the stage >= 2. Also update the dist target to be aware of the new location of libstd.
2017-07-20Update to toml 0.4Mark Simulacrum-1/+5
2017-07-20Add documentation to Step and related methods on Builder.Mark Simulacrum-7/+31
2017-07-20Move code out of macro and into generic method.Mark Simulacrum-40/+39
2017-07-20Finish fixing warnings and errors. Bootstrap builds.Mark Simulacrum-19/+20
2017-07-20Move cargo() to BuilderMark Simulacrum-50/+43
2017-07-20Fixes warnings and errors introduced while moving code aroundMark Simulacrum-5/+5
2017-07-20Add Builder and Step definitions.Mark Simulacrum-0/+468