Mark Simulacrum
d8aecc19d8
Remove step.rs
2017-07-20 16:41:46 -06:00
Mark Simulacrum
e9c2242050
Remove step.rs comments
2017-07-20 16:41:26 -06:00
Mark Simulacrum
8563280bec
Check RLS tests
2017-07-20 16:33:49 -06:00
Mark Simulacrum
bcd73c9657
Change default documentation rules to correspond with previous state.
2017-07-20 16:33:49 -06:00
Mark Simulacrum
951616cac6
Don't include lldb/gdb in default tests
2017-07-20 16:33:49 -06:00
Michael Woerister
f6e5416a2f
trans: Make the collector search const fn invocations.
2017-07-20 22:10:36 +02:00
Alex Crichton
53d8b1d051
std: Cut down #[inline] annotations where not necessary
...
This PR cuts down on a large number of `#[inline(always)]` and `#[inline]`
annotations in libcore for various core functions. The `#[inline(always)]`
annotation is almost never needed and is detrimental to debug build times as it
forces LLVM to perform inlining when it otherwise wouldn't need to in debug
builds. Additionally `#[inline]` is an unnecessary annoation on almost all
generic functions because the function will already be monomorphized into other
codegen units and otherwise rarely needs the extra "help" from us to tell LLVM
to inline something.
Overall this PR cut the compile time of a [microbenchmark][1] by 30% from 1s to
0.7s.
[1]: https://gist.github.com/alexcrichton/a7d70319a45aa60cf36a6a7bf540dd3a
2017-07-20 12:01:32 -07:00
Aaron Power
077deadb85
Update release notes for 1.19.0
2017-07-20 19:42:15 +01:00
Evan Cameron
72e8009185
Remove mut where possible
2017-07-20 13:59:44 -04: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
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