Mark Simulacrum
f1d04a3434
Don't run host-only tests when targeting another platform
2017-07-20 11:24:37 -06:00
Mark Simulacrum
5bdec80fe3
Allow iterating over step descriptions.
...
This simplifies code and allows working mostly with normal Rust instead
of macros.
2017-07-20 11:24:37 -06:00
Mark Simulacrum
56128fb3ac
Implement available paths list.
2017-07-20 11:24:37 -06:00
Mark Simulacrum
981afa52f6
Krate -> Crate
2017-07-20 11:24:37 -06:00
Mark Simulacrum
ba1fc82fe4
Remove outdated code.
...
Relevant sys crates handle this properly.
2017-07-20 11:24:37 -06:00
Mark Simulacrum
7414868853
Remove TypeId from stack in Builder
2017-07-20 11:24:37 -06:00
Guillaume Gomez
828b661ae0
fail in case nothing to run was found
2017-07-20 11:24:36 -06:00
Mark Simulacrum
681b12316c
Require should_run to be implemented.
2017-07-20 11:24:36 -06:00
Mark Simulacrum
528646e127
Utilize interning to allow Copy/Clone steps
2017-07-20 11:24:32 -06:00
Mark Simulacrum
e7b1a60ad7
Remove core_intrinsics feature gate
2017-07-20 11:24:00 -06:00
Mark Simulacrum
a5ab2ceef8
Fix a few errors introduced during rebase.
2017-07-20 11:23:59 -06:00
Mark Simulacrum
c7435b52a9
Cherry pick changes from ce3abc5801.
...
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-20 11:23:59 -06:00
Mark Simulacrum
a1fa2681cf
Update to toml 0.4
2017-07-20 11:23:59 -06:00
Mark Simulacrum
8264e42cb2
Add documentation to Step and related methods on Builder.
2017-07-20 11:23:58 -06:00
Mark Simulacrum
ef1d1bdc18
Move code out of macro and into generic method.
2017-07-20 11:23:58 -06:00
Mark Simulacrum
c114fe576f
Finish fixing warnings and errors. Bootstrap builds.
2017-07-20 11:23:58 -06:00
Mark Simulacrum
7db49fb467
Move cargo() to Builder
2017-07-20 11:23:58 -06:00
Mark Simulacrum
60388303c7
Fixes warnings and errors introduced while moving code around
2017-07-20 11:23:58 -06:00
Mark Simulacrum
cd3dd803a7
Add Builder and Step definitions.
2017-07-20 11:23:58 -06:00