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
bca1e2ffd1
Use a single line for serde annotations.
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
Aidan Hobson Sayers
28defe0fce
Remove deserialize
2017-07-20 11:24:36 -06:00
Mark Simulacrum
dec44b0656
Resolve rebase errors
2017-07-20 11:24:36 -06:00
Guillaume Gomez
828b661ae0
fail in case nothing to run was found
2017-07-20 11:24:36 -06:00
Mark Simulacrum
f19728f4c7
Fix tidy
2017-07-20 11:24:36 -06:00
Mark Simulacrum
17f4b8f0e1
Remove outdated FIXME from cache
2017-07-20 11:24:36 -06:00
Mark Simulacrum
fc3d06ac86
Implement keep-stage support
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
270d1d69ed
Make the book default.
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
6a85193149
Clean up install
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
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
d360af45bb
Migrate to serde_json entirely
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
b881aaed90
Document the process more thoroughly
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
e62fdf3a59
Pacify tidy
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
276090e870
Fix tool_cmd
2017-07-20 11:23:58 -06:00
Mark Simulacrum
1a844ebb8f
Move tool_cmd to tool.rs
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
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
bors
ae98ebfcb9
Auto merge of #43281 - mmatyas:remotetest_env, r=alexcrichton
...
Allow remote testing remotely when `TEST_DEVICE_ADDR` is set
Remote testing was added in #41268 , but at the moment it's only enabled if QEMU is also available or we're testing Android. This patch also allows remote testing if the environment variable `TEST_DEVICE_ADDR` is set, as required by `remote-test-client` [[1](https://github.com/rust-lang/rust/blob/master/src/tools/remote-test-client/src/main.rs#L28 ), [2](https://github.com/rust-lang/rust/blob/master/src/tools/remote-test-client/src/main.rs#L61 )]
2017-07-20 13:58:03 +00:00
bors
9d54ebe550
Auto merge of #43271 - Nashenas88:nll, r=nikomatsakis
...
Add empty MIR pass for non-lexical lifetimes
This is the first step for #43234 .
2017-07-20 11:31:30 +00:00
bors
1edbc3df0d
Auto merge of #43270 - petrochenkov:fixstab, r=alexcrichton
...
Fix checking for missing stability annotations
This was a regression from https://github.com/rust-lang/rust/pull/37676 causing "unmarked API" ICEs like https://github.com/rust-lang/rust/issues/43027 .
r? @alexcrichton
2017-07-20 09:01:58 +00:00
bors
381d51dc49
Auto merge of #43260 - zackmdavis:print_target_spec_json_unstable_options_error, r=arielb1
...
explanatory error on `--print target-spec-json` without unstable options
![unstable_target_spec](https://user-images.githubusercontent.com/1076988/28243342-9731a45c-697a-11e7-9852-bad7ca1802b7.png )
Resolves #41683 .
2017-07-20 06:38:41 +00:00
bors
1beaea26ff
Auto merge of #43251 - gaurikholkar:span_reorder, r=nikomatsakis
...
Reorder span suggestions to appear below main labels
A fix to #41698
r? @nikomatsakis
2017-07-20 03:36:14 +00:00
bors
28486e7f90
Auto merge of #43247 - est31:master, r=alexcrichton
...
Tidy: allow common lang+lib features
This allows changes to the Rust language that have both library
and language components share one feature gate.
The feature gates need to be "about the same change", so that both
library and language components must either be both unstable, or
both stable, and share the tracking issue.
Removes the ugly "proc_macro" exception added by #40939 .
Closes #43089
2017-07-20 00:11:40 +00:00
Jacques-Henri Jourdan
8416713240
Add test test_weak_count_locked
2017-07-20 01:59:01 +02:00
Zack M. Davis
c6a23996ca
explanatory error on --print target-spec-json
without unstable options
...
Resolves #41683 .
2017-07-19 13:27:35 -07:00
Vadim Petrochenkov
18d9701645
Add an extra note to late_bound_lifetime_arguments
error/lint
2017-07-19 23:12:58 +03:00
bors
582af6e1ad
Auto merge of #43178 - zackmdavis:some_suggestion, r=eddyb
...
suggest one-argument enum variant to fix type mismatch when applicable
Following @est31's [suggestion](https://github.com/rust-lang/rust/issues/42764#issuecomment-309680886 ).
![some_suggestion](https://user-images.githubusercontent.com/1076988/28101064-ee83f51e-667a-11e7-9e4f-d8f9eb2fb6c3.png )
Resolves #42764 .
2017-07-19 20:12:56 +00:00
Thomas Lively
6a3e32267e
Pass debugging arguments to emcc
...
Tells emcc to enable assertions and debugging information for
wasm32-experimental-emscripten. This makes the codegen issues caused by
LLVM bug 33824 manifest more frequently at runtime and improves the wasm
debugging experience.
2017-07-19 10:55:12 -07:00