summary refs log tree commit diff
path: root/src/bootstrap/builder.rs
AgeCommit message (Collapse)AuthorLines
2018-01-01rustbuild: Allow using unstable rustdoc features on betaAlex Crichton-1/+2
I believe this was forgotten from #45191 but hopefully is a simple fix!
2017-12-14Do not produce debuginfo for toolsOliver Schneider-2/+5
2017-12-06Update miri to rustc changesOliver Schneider-28/+67
2017-09-23Remove leftoverbjorn3-6/+0
2017-09-23Move NoLlvmMetadataLoader to rustc_trans_traitsbjorn3-0/+3
2017-09-23Dont do no-trans for llvm enabled buildsbjorn3-0/+6
2017-09-23Allow building stage 2 compiler librariesbjorn3-1/+1
2017-09-19Add clippy to `toolstate.toml`Oliver Schneider-1/+1
2017-09-18Auto merge of #43628 - oli-obk:orbital_standard_library, r=alexcrichtonbors-3/+4
Run the miri test suite on the aux builder and travis Reopen of #38350 see https://github.com/rust-lang/rust/pull/43340#issuecomment-316940762 for earlier discussion Rationale for running miri's test suite in rustc's CI is that miri currently contains many features that we want in const eval in the future, and these features would break if the test suite is not run. fixes #44077 r? @nikomatsakis cc @eddyb
2017-09-17Prevent distribution if miri is enabledOliver Schneider-1/+1
2017-09-17Get the miri test suite to run inside the rustc dev environmentOliver Schneider-2/+3
2017-09-17Auto merge of #44607 - alexcrichton:rustbuild-no-j, r=Mark-Simulacrumbors-6/+12
rustbuild: Don't pass `-j` if called by `make` In these situations Cargo just prints out a warning about ignoring the flag anyway, so let `make` take care of jobs and whatnot instead of getting warnings printed.
2017-09-17rustbuild: Don't pass `-j` if called by `make`Alex Crichton-6/+12
In these situations Cargo just prints out a warning about ignoring the flag anyway, so let `make` take care of jobs and whatnot instead of getting warnings printed.
2017-09-13Build and test RustfmtNick Cameron-2/+2
2017-09-05Test rustdoc unit tests.Mark Simulacrum-3/+3
Doc tests are temporarily disabled until next release cycle, since current beta Cargo errors on them. Upgrade should be smooth as the relevant tests are already fixed in this commit.
2017-09-02Auto merge of #43886 - oli-obk:clippy, r=nrcbors-1/+1
Add clippy as a submodule ~~This builds clippy as part of `./x.py build` (locally and in CI).~~ This allows building clippy with `./x.py build src/tools/clippy` ~~Needs https://github.com/nrc/dev-tools-team/issues/18#issuecomment-322456461 to be resolved before it can be merged.~~ Contributers can simply open a PR to clippy and point the submodule at the `pull/$pr_number/head` branch. This does **not** build clippy or test the clippy test suite at all as per https://github.com/nrc/dev-tools-team/issues/18#issuecomment-321411418 r? @nrc cc @Manishearth @llogiq @mcarton @alexcrichton
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-15Add clippy as a submoduleOliver Schneider-1/+1
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