about summary refs log tree commit diff
path: root/src/bootstrap/builder
AgeCommit message (Collapse)AuthorLines
2020-07-27Fix most bootstrap testsJoshua Nelson-1/+2
Uses --stage 2 for all the existing tests
2020-07-27mv std libs to library/mark-3/+5
2020-07-17Teach bootstrap about target files vs target triplesJake Goulding-28/+28
`rustc` allows passing in predefined target triples as well as JSON target specification files. This change allows bootstrap to have the first inkling about those differences. This allows building a cross-compiler for an out-of-tree architecture (even though that compiler won't work for other reasons). Even if no one ever uses this functionality, I think the newtype around the `Interned<String>` improves the readability of the code.
2020-07-01Tests for number of times rustdoc is built with x.py test and doc.Eric Huss-0/+79
2020-02-03bootstrap: fix clippy warningsMatthias Krüger-1/+0
2019-12-22Format the worldMark Rousskov-298/+81
2019-12-11Fix a test in the bootstrap test suiteAlex Crichton-0/+4
2019-08-23bootstrap: Merge the libtest build step with libstdAlex Crichton-89/+64
Since its inception rustbuild has always worked in three stages: one for libstd, one for libtest, and one for rustc. These three stages were architected around crates.io dependencies, where rustc wants to depend on crates.io crates but said crates don't explicitly depend on libstd, requiring a sysroot assembly step in the middle. This same logic was applied for libtest where libtest wants to depend on crates.io crates (`getopts`) but `getopts` didn't say that it depended on std, so it needed `std` built ahead of time. Lots of time has passed since the inception of rustbuild, however, and we've since gotten to the point where even `std` itself is depending on crates.io crates (albeit with some wonky configuration). This commit applies the same logic to the two dependencies that the `test` crate pulls in from crates.io, `getopts` and `unicode-width`. Over the many years since rustbuild's inception `unicode-width` was the only dependency picked up by the `test` crate, so the extra configuration necessary to get crates building in this crate graph is unlikely to be too much of a burden on developers. After this patch it means that there are now only two build phasese of rustbuild, one for libstd and one for rustc. The libtest/libproc_macro build phase is all lumped into one now with `std`. This was originally motivated by rust-lang/cargo#7216 where Cargo was having to deal with synthesizing dependency edges but this commit makes them explicit in this repository.
2019-07-27Remove run-pass test suitesVadim Petrochenkov-4/+1
2019-06-24bootstrap: pass '--pass' on to compiletest.Mazdak Farrokhzad-0/+2
2019-06-16Separate bootstrap modulechansuke-0/+656