| Age | Commit message (Collapse) | Author | Lines |
|
Fixes clippy build.
|
|
|
|
|
|
editions.
|
|
update cargo
This pulls in https://github.com/rust-lang/cargo/pull/6052, which is needed for the edition preview, and will be backported to beta as well.
|
|
This commit brings in a few Cargo updates
* Updates Cargo with experimental HTTP/2 support - a post on the forums
will be made about testing this when available.
* Bumps Cargo's own version number
|
|
|
|
|
|
(It seems only `compile-fail-fulldeps/` exercises this functionality,
unfortunately.)
|
|
`run_{rpass,rfail,cfail}_test`.
(Also, maybe we should revise the names to make it clear that sometimes "cfail" means "cpass"...)
|
|
(I did not notice earlier that `ParseFail` delegates to `fn run_cfail_test`.)
|
|
Namely, this adds support for:
* `// dont-check-compiler-stdout`, and
* `// dont-check-compiler-stderr`.
Obviously almost all ui tests wont want to opt into these, since the whole point
of a ui test is to check the compiler ui. However, since this PR is converting
run-pass into (another set of) ui tests, these header options make sense in that
context.
(Also this puts us into a better position for eventually turning
*every* test suite into a ui test suite, by making ui-ness the default
and forcing tests to opt out explicitly.)
|
|
(just like how they behaved under previous run-pass semantics)
|
|
|
|
|
|
|
|
rust-lang-nursery/rls#1054.
|
|
|
|
Should bring in some nice progress bars for compilations!
|
|
|
|
Bring in a few last-minute updates before the 1.30.0 release
|
|
feature-gate, on Rust 2018.
|
|
|
|
update clippy submodule
updates to cafef7b576203f166add9ed143979d9775c25219
|
|
tidy: Cleanups and clippy warning fixes
This eliminates various clippy warnings in the tidy tool, as well as
making some related cleanups. These changes should not introduce any
functional differences.
|
|
updates to cafef7b576203f166add9ed143979d9775c25219
|
|
Restore lldb build
commit 6c10142251 ("Update LLVM submodule") disabled the lldb build.
This patch updates the lldb and clang submodules to once again build
against the LLVM that is included in the Rust tree, and reverts the
.travis.yml changes from that patch.
|
|
|
|
|
|
commit 6c10142251 ("Update LLVM submodule") disabled the lldb build.
This patch updates the lldb and clang submodules to once again build
against the LLVM that is included in the Rust tree, and reverts the
.travis.yml changes from that patch.
|
|
|
|
This pulls the same version of rustc-ap-* libs as RLS does.
|
|
|
|
Enable ThinLTO with incremental compilation.
This is an updated version of #52309. This PR allows `rustc` to use (local) ThinLTO and incremental compilation at the same time. In theory this should allow for getting compile-time improvements for small changes while keeping the runtime performance of the generated code roughly the same as when compiling non-incrementally.
The difference to #52309 is that this version also caches the pre-LTO version of LLVM bitcode. This allows for another layer of caching:
1. if the module itself has changed, we have to re-codegen and re-optimize.
2. if the module itself has not changed, but a module it imported from during ThinLTO has, we don't need to re-codegen and don't need to re-run the first optimization phase. Only the second (i.e. ThinLTO-) optimization phase is re-run.
3. if neither the module itself nor any of its imports have changed then we can re-use the final, post-ThinLTO version of the module. (We might have to load its pre-ThinLTO version though so it's available for other modules to import from)
|
|
|
|
|
|
The match expression immediately below it checks the same condition.
|
|
|
|
Use `if let` to simplify a match, and use `contains_key` instead of
`get`.
|
|
This improves readability and eliminates a clippy warning.
|
|
|
|
This makes the code more readable, and eliminates a clippy warning.
|
|
Drop unnecessary .into_iter() (also fixing a clippy warning), and use
path functions to handle file extensions.
|
|
This also eliminates a clippy warning.
|
|
Dropping the redundant lifetimes also eliminates a clippy warning.
|
|
|
|
Also eliminates a clippy lint.
|
|
Eliminates a clippy warning.
Also drop the unnecessary `.peekable()`.
|
|
Use `.nth(n)` rather than `.skip(n).next()` (also fixes a clippy
warning), and use `.into()` and a type signature rather than
`PathBuf::from`.
|
|
Fixes a clippy warning, and improves readability.
|