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
Mark Simulacrum
50799265ca
Test src/doc once more
2017-07-10 11:43:02 -06:00
Mark Simulacrum
1654a2f5ac
Use build.build instead of build.config.build
2017-07-04 07:39:47 -06:00
Mark Simulacrum
39cf1da81c
Store verbosity on Build
...
Prevents accidental mistakes in not using the right verbosity by going
to only config or flags.
2017-07-04 07:31:56 -06:00
Mark Simulacrum
4dc8fe9083
Store positive instead of negative fail_fast.
...
This makes later negation much easier to interpret.
2017-07-04 07:31:56 -06:00
Mark Simulacrum
2cc5b084a0
Clarify meaning of Build.cargo, Build.rustc.
...
Rename Build.{cargo, rustc} to {initial_cargo, initial_rustc}.
2017-07-04 07:31:56 -06:00
Mark Simulacrum
5b44cbc39f
Cleanups to check code.
2017-07-04 07:31:55 -06:00
Ian Douglas Scott
f98ffb5bc3
Make Build.cxx() return a Result instead of panicking
2017-06-22 11:51:32 -07:00
Alex Crichton
be7ebdd512
Bump version and stage0 compiler
2017-06-19 22:25:05 -07:00
bors
ebbc9ea914
Auto merge of #42410 - nagisa:llvmup, r=sanxiyn
...
Upgrade LLVM
Includes https://github.com/rust-lang/llvm/pull/80
2017-06-16 12:18:45 +00:00
bors
c3627e25ee
Auto merge of #42631 - malbarbo:wasm32, r=alexcrichton
...
Add a travis builder for wasm32-unknown-emscripten
This commits add an entry to travis matrix that will execute wasm32-unknown-emscripten tests suites.
- Emscripten for asmjs was updated to sdk-1.37.13-64bit
- The tests are run with node 8.0.0 (it can execute wasm)
- A wrapper script is used to run each test from the directory where it is (workaround for https://github.com/kripken/emscripten/issues/4542 )
- Some tests are ignore, see #42629 and #42630
2017-06-16 07:54:59 +00:00