about summary refs log tree commit diff
path: root/src/bootstrap
AgeCommit message (Collapse)AuthorLines
2017-07-20Resolve rebase errorsMark Simulacrum-34/+32
2017-07-20fail in case nothing to run was foundGuillaume Gomez-0/+5
2017-07-20Fix tidyMark Simulacrum-3/+4
2017-07-20Remove outdated FIXME from cacheMark Simulacrum-3/+0
2017-07-20Implement keep-stage supportMark Simulacrum-1/+13
2017-07-20Require should_run to be implemented.Mark Simulacrum-2/+64
2017-07-20Make the book default.Mark Simulacrum-0/+1
2017-07-20Utilize interning to allow Copy/Clone stepsMark Simulacrum-702/+1007
2017-07-20Remove core_intrinsics feature gateMark Simulacrum-20/+67
2017-07-20Clean up installMark Simulacrum-120/+89
2017-07-20Cleanups and fixes throughoutMark Simulacrum-127/+118
2017-07-20Fix more incorrectly transitioned codeMark Simulacrum-22/+59
2017-07-20Fix a few errors introduced during rebase.Mark Simulacrum-63/+122
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-45/+49
2017-07-20Migrate to serde_json entirelyMark Simulacrum-5/+5
2017-07-20Fix a nit.Mark Simulacrum-1/+1
2017-07-20Rework compiletest implementation.Mark Simulacrum-84/+55
2017-07-20Move compiletest config into a structMark Simulacrum-37/+102
2017-07-20Document the process more thoroughlyMark Simulacrum-17/+66
2017-07-20Add documentation to Step and related methods on Builder.Mark Simulacrum-7/+31
2017-07-20Pacify tidyMark Simulacrum-1/+2
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-79/+51
2017-07-20Move cargo() to BuilderMark Simulacrum-224/+43
2017-07-20Fix tool_cmdMark Simulacrum-9/+5
2017-07-20Move tool_cmd to tool.rsMark Simulacrum-39/+41
2017-07-20Fixes warnings and errors introduced while moving code aroundMark Simulacrum-213/+196
2017-07-20Add Builder and Step definitions.Mark Simulacrum-5/+599
2017-07-20Change code to work with the new systemMark Simulacrum-246/+1394
2017-07-20Move code into Step trait implementations.Mark Simulacrum-2247/+2861
No changes are introduced to code body. This commit will not build; it is done to permit a better diff in later commits.
2017-07-20Move rule configs out of stepMark Simulacrum-1/+737
2017-07-17Allow remote testing remotely when `TEST_DEVICE_ADDR` is setMátyás Mustoha-1/+2
2017-07-17Auto merge of #42146 - nrc:rls-rust, r=alexcrichtonbors-11/+34
More Rust/RLS integration r? @alexcrichton cc https://github.com/rust-lang-nursery/rls/issues/310 closes #41199 closes #41197
2017-07-17Run RLS testsNick Cameron-11/+34
2017-07-16Compile `compiler_builtins` with `abort` panic strategyVadim Petrochenkov-1/+6
2017-07-14Rollup merge of #43145 - GuillaumeGomez:build-error-if-nothing, ↵Corey Farwell-1/+10
r=Mark-Simulacrum fail in case nothing to run was found Fixes #43121. r? @Mark-Simulacrum
2017-07-11fail in case nothing to run was foundGuillaume Gomez-1/+10
2017-07-10Test src/doc once moreMark Simulacrum-6/+11
2017-07-07Fix stage 2 builds with a custom libdir.Matthew Dawson-4/+11
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-06Auto merge of #42899 - alexcrichton:compiler-builtins, r=nikomatsakisbors-6/+17
Switch to rust-lang-nursery/compiler-builtins This commit migrates the in-tree `libcompiler_builtins` to the upstream version at https://github.com/rust-lang-nursery/compiler-builtins. The upstream version has a number of intrinsics written in Rust and serves as an in-progress rewrite of compiler-rt into Rust. Additionally it also contains all the existing intrinsics defined in `libcompiler_builtins` for 128-bit integers. It's been the intention since the beginning to make this transition but previously it just lacked the manpower to get done. As this PR likely shows it wasn't a trivial integration! Some highlight changes are: * The PR rust-lang-nursery/compiler-builtins#166 contains a number of fixes across platforms and also some refactorings to make the intrinsics easier to read. The additional testing added there also fixed a number of integration issues when pulling the repository into this tree. * LTO with the compiler-builtins crate was fixed to link in the entire crate after the LTO process as these intrinsics are excluded from LTO. * Treatment of hidden symbols was updated as previously the `#![compiler_builtins]` crate would mark all symbol *imports* as hidden whereas it was only intended to mark *exports* as hidden.
2017-07-05rustbuild: Only -Zsave-analysis for libstdAlex Crichton-1/+3
Don't pass the flag when we're compiling the compiler or other related tools
2017-07-05Switch to rust-lang-nursery/compiler-builtinsAlex Crichton-6/+17
This commit migrates the in-tree `libcompiler_builtins` to the upstream version at https://github.com/rust-lang-nursery/compiler-builtins. The upstream version has a number of intrinsics written in Rust and serves as an in-progress rewrite of compiler-rt into Rust. Additionally it also contains all the existing intrinsics defined in `libcompiler_builtins` for 128-bit integers. It's been the intention since the beginning to make this transition but previously it just lacked the manpower to get done. As this PR likely shows it wasn't a trivial integration! Some highlight changes are: * The PR rust-lang-nursery/compiler-builtins#166 contains a number of fixes across platforms and also some refactorings to make the intrinsics easier to read. The additional testing added there also fixed a number of integration issues when pulling the repository into this tree. * LTO with the compiler-builtins crate was fixed to link in the entire crate after the LTO process as these intrinsics are excluded from LTO. * Treatment of hidden symbols was updated as previously the `#![compiler_builtins]` crate would mark all symbol *imports* as hidden whereas it was only intended to mark *exports* as hidden.
2017-07-04Use build.build instead of build.config.buildMark Simulacrum-92/+98
2017-07-04Move targets, hosts, and build triple into Build.Mark Simulacrum-27/+44
2017-07-04Store verbosity on BuildMark Simulacrum-15/+14
Prevents accidental mistakes in not using the right verbosity by going to only config or flags.
2017-07-04Store positive instead of negative fail_fast.Mark Simulacrum-10/+11
This makes later negation much easier to interpret.
2017-07-04Remove src_is_git, instead call method on rust_info directly.Mark Simulacrum-4/+6
2017-07-04Clarify meaning of Build.cargo, Build.rustc.Mark Simulacrum-41/+50
Rename Build.{cargo, rustc} to {initial_cargo, initial_rustc}.
2017-07-04Update a few comments.Mark Simulacrum-18/+11