Nick Cameron
bfcb290937
Add RLS and Rustfmt to the toolstate mechanism
2017-09-27 15:40:57 -07:00
Oliver Schneider
d64a067423
Add clippy to toolstate.toml
2017-09-19 09:20:35 +02:00
Ximin Luo
8f25497d78
rustbuild: with --no-fail-fast, report the specific commands that failed
2017-09-18 21:21:24 +02:00
Oliver Schneider
01555b1da1
Rebase fallout
2017-09-17 21:45:54 +02:00
Oliver Schneider
ab018c76e1
Add a file to trivially disable tool building or testing
2017-09-17 21:41:45 +02:00
Oliver Schneider
f381744d91
Get the miri test suite to run inside the rustc dev environment
2017-09-17 21:40:13 +02:00
Tim Neumann
eea2f5596a
Rollup merge of #44533 - nrc:rustfmt-submod, r=alexcrichton
...
Add Rustfmt
r? @alexcrichton
2017-09-17 13:19:04 +02:00
Alex Crichton
3da54fb036
rustbuild: Fix test "test rustdoc" invocation
...
Previously it would use the librustc output directory which would cause rustdoc
to get entirely recompiled, whereas the intention is that it uses the
already-compiled artifacts from building rustdoc itself, using the tool output
directory
2017-09-15 15:28:59 -07:00
Nick Cameron
d0070e85db
Build and test Rustfmt
2017-09-13 16:18:45 +12:00
Mark Simulacrum
f87696b268
Test rustdoc unit tests.
...
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-05 11:17:52 -06:00
Zack M. Davis
1b6c9605e4
use field init shorthand EVERYWHERE
...
Like #43008 (f668999), but _much more aggressive_.
2017-08-15 15:29:17 -07:00
bors
e324594844
Auto merge of #43842 - bjorn3:no_llvm_cleanup, r=alexcrichton
...
Cleanup for "Support compiling rustc without LLVM (try 2)"
This includes a small patch to allow running tests without llvm. Also check if you are not trying to compile a dylib.
cc #42932
r? @alexcrichton
2017-08-14 02:11:18 +00:00
bjorn3
1c28cf5b68
Change run-make ignore message
2017-08-13 16:49:09 +02:00
bjorn3
0c97bbf424
Remove some more cfg's
2017-08-13 12:30:54 +02:00
Mark Simulacrum
facf5a91c4
Build rustdoc only at the top stage
2017-08-13 05:15:43 +05:00
Mark Simulacrum
44ffb61623
Unify flags into config.
...
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-13 05:15:43 +05:00
Alex Crichton
8e7849e766
rustbuild: Use Cargo's "target runner"
...
This commit leverages a relatively new feature in Cargo to execute
cross-compiled tests, the `target.$target.runner` configuration. We configure it
through environment variables in rustbuild and this avoids the need for us to
locate and run tests after-the-fact, instead relying on Cargo to do all that
execution for us.
2017-07-28 18:00:31 -07:00
Mark Simulacrum
9ee877bbe6
Correct a few run.host invocations where run.target is intended.
2017-07-27 09:58:03 -06:00
Mark Simulacrum
4e5333cb2b
Don't needlessly build rustdoc for compiletest.
...
For most tests, rustdoc isn't needed, so avoid building it.
2017-07-27 05:51:22 -06:00
Mark Simulacrum
e2e9b40e9a
Build rustdoc on-demand.
...
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-27 05:51:22 -06:00
Mark Simulacrum
fe0eca0d3f
Change tools to take a compiler instead of a stage.
2017-07-27 05:51:22 -06:00
Alex Crichton
9010567dcc
Bump master to 1.21.0
...
This commit bumps the master branch's version to 1.21.0 and also updates the
bootstrap compiler from the freshly minted beta release.
2017-07-25 07:03:19 -07:00
Mark Simulacrum
fef9b48252
Make dist equivalent to old build system.
2017-07-24 09:05:27 -06:00
Mark Simulacrum
a88a09c716
Do not run pretty tests by default.
2017-07-23 09:54:42 -06:00
Mark Simulacrum
1c118231ad
Make distcheck work again.
2017-07-22 10:48:29 -06:00
Mark Simulacrum
8f2e576cb3
Add make_run to distcheck.
2017-07-22 07:35:42 -06:00
Mark Simulacrum
6a67a050c6
Change make_run signature to taking a RunConfig struct for refactorability.
2017-07-20 17:51:07 -06:00
Mark Simulacrum
b05af49086
Add an optional condition to constrain defaults.
...
Utilized primarily to not be a default rule unless some configuration is
given (e.g., compiler docs are enabled).
2017-07-20 17:24:11 -06:00
Mark Simulacrum
e9c2242050
Remove step.rs comments
2017-07-20 16:41:26 -06:00
Mark Simulacrum
951616cac6
Don't include lldb/gdb in default tests
2017-07-20 16:33:49 -06:00
Mark Simulacrum
f1d04a3434
Don't run host-only tests when targeting another platform
2017-07-20 11:24:37 -06:00
Mark Simulacrum
4a21c72fb0
Fix a few issues found by comparing past/present
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
dec44b0656
Resolve rebase errors
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
5984e70af2
Cleanups and fixes throughout
2017-07-20 11:24:00 -06:00
Mark Simulacrum
ceecd6250f
Fix more incorrectly transitioned code
2017-07-20 11:23:59 -06:00
Mark Simulacrum
a5ab2ceef8
Fix a few errors introduced during rebase.
2017-07-20 11:23:59 -06:00
Mark Simulacrum
d812d430a4
Fix a nit.
2017-07-20 11:23:59 -06:00
Mark Simulacrum
aa8b93bd10
Rework compiletest implementation.
2017-07-20 11:23:59 -06:00
Mark Simulacrum
1ab8930603
Move compiletest config into a struct
2017-07-20 11:23:59 -06:00
Mark Simulacrum
c114fe576f
Finish fixing warnings and errors. Bootstrap builds.
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
6b3413d825
Change code to work with the new system
2017-07-20 11:23:57 -06:00
Mark Simulacrum
001e9f3490
Move code into Step trait implementations.
...
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-20 11:23:57 -06:00
Mark Simulacrum
0a1b5e8bc0
Move rule configs out of step
2017-07-20 11:23:57 -06:00
Nick Cameron
04415dc64c
Run RLS tests
2017-07-17 17:21:46 +12:00