about summary refs log tree commit diff
path: root/src/tools
AgeCommit message (Collapse)AuthorLines
2018-09-26update clippy submodule to a72e786cMatthias Krüger-14/+14
Fixes clippy build.
2018-09-26Update rustfmt and RLSNick Cameron-5/+5
2018-09-23update rls to 32d457717ce37babef199fe4984b1e20d4e108d4Matthias Krüger-0/+0
2018-09-22Stabilize crate_in_paths, extern_absolute_paths and extern_prelude on all ↵Eduard-Mihai Burtescu-0/+0
editions.
2018-09-22Auto merge of #54334 - steveklabnik:update-cargo, r=alexcrichtonbors-0/+1
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.
2018-09-21Update CargoAlex Crichton-0/+1
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
2018-09-21Added comment above `Mode::RunPass` noting that it now behaves like `Mode::Ui`.Felix S. Klock II-0/+1
2018-09-21Make the `// skip-codegen` property apply to ui tests too.Felix S. Klock II-3/+4
2018-09-21you can have `// compile-pass` markers in headers of `compile-fail/` tests.Felix S. Klock II-1/+1
(It seems only `compile-fail-fulldeps/` exercises this functionality, unfortunately.)
2018-09-21Similar to above, failed to notice that `Mode::Incremental` delegates to ↵Felix S. Klock II-0/+12
`run_{rpass,rfail,cfail}_test`. (Also, maybe we should revise the names to make it clear that sometimes "cfail" means "cpass"...)
2018-09-21Mark `ParseFail` as tests that are not expected to compile.Felix S. Klock II-1/+1
(I did not notice earlier that `ParseFail` delegates to `fn run_cfail_test`.)
2018-09-21Provide way for ui tests to opt out of having their output checked.Felix S. Klock II-2/+28
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.)
2018-09-21Support `// skip-codegen` in header of ui testsFelix S. Klock II-1/+1
(just like how they behaved under previous run-pass semantics)
2018-09-21Make `src/test/run-pass/` act like an alternative `ui` test suite.Felix S. Klock II-6/+22
2018-09-17Update Clippyflip1995-14/+14
2018-09-17update miriRalf Jung-5/+5
2018-09-15Update submodules to include rust-lang-nursery/rust-clippy#3189 and ↵Eduard-Mihai Burtescu-14/+14
rust-lang-nursery/rls#1054.
2018-09-14Update Clippyflip1995-14/+14
2018-09-13Update CargoAlex Crichton-0/+0
Should bring in some nice progress bars for compilations!
2018-09-12Really make CGU names unique across crates.Michael Woerister-13/+21
2018-09-10Update Cargo submoduleAlex Crichton-0/+0
Bring in a few last-minute updates before the 1.30.0 release
2018-09-10rustc_resolve: inject `uniform_paths` canaries regardless of the ↵Eduard-Mihai Burtescu-0/+0
feature-gate, on Rust 2018.
2018-09-09submodules: update clippy, rls with crate visibility patches, also update cargoMatthias Krüger-14/+14
2018-09-07Rollup merge of #54023 - matthiaskrgr:clippy, r=oli-obkkennytm-14/+14
update clippy submodule updates to cafef7b576203f166add9ed143979d9775c25219
2018-09-07Rollup merge of #53895 - joshtriplett:tidy-tidy, r=nikomatsakiskennytm-57/+44
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.
2018-09-07update clippy submoduleMatthias Krüger-14/+14
updates to cafef7b576203f166add9ed143979d9775c25219
2018-09-05Auto merge of #53951 - tromey:restore-lldb-build, r=alexcrichtonbors-0/+0
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.
2018-09-05Pick up State.h include path changeTom Tromey-0/+0
2018-09-04Breaking change upgradesMark Rousskov-2/+4
2018-09-04Restore lldb buildTom Tromey-0/+0
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.
2018-09-04Update RLS wrt recent Clippy changesIgor Matuszewski-0/+0
2018-09-04Update Rustfmt to 0.99.4Igor Matuszewski-5/+5
This pulls the same version of rustc-ap-* libs as RLS does.
2018-09-04Update RLSIgor Matuszewski-0/+0
2018-09-03Auto merge of #53673 - michaelwoerister:incr-thinlto-2000, r=alexcrichtonbors-0/+1
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)
2018-09-03Add memmap crate to tidy whitelist.Michael Woerister-0/+1
2018-09-02Update clippyManish Goregaokar-5/+19
2018-09-01tidy: features.rs: Remove a redundant .containsJosh Triplett-4/+0
The match expression immediately below it checks the same condition.
2018-09-01tidy: features.rs: Use splitn rather than a complex sliceJosh Triplett-1/+1
2018-09-01tidy: features.rs: collect_lib_features: SimplifyJosh Triplett-8/+5
Use `if let` to simplify a match, and use `contains_key` instead of `get`.
2018-09-01tidy: Use an inclusive range rather than a +1 boundJosh Triplett-1/+1
This improves readability and eliminates a clippy warning.
2018-09-01tidy: Eliminate an unnecessary .into_iter()Josh Triplett-1/+1
2018-09-01tidy: deps: Hoist a complex multi-line if condition into a letJosh Triplett-2/+3
This makes the code more readable, and eliminates a clippy warning.
2018-09-01tidy: unstable_book.rs: Clean up directory iterationJosh Triplett-4/+3
Drop unnecessary .into_iter() (also fixing a clippy warning), and use path functions to handle file extensions.
2018-09-01tidy: Avoid "let ref mut = ..."Josh Triplett-6/+6
This also eliminates a clippy warning.
2018-09-01tidy: Use "const" instead of "static, and remove implied `'static` lifetimesJosh Triplett-6/+6
Dropping the redundant lifetimes also eliminates a clippy warning.
2018-09-01tidy: extdeps.rs: Avoid an unnecessary collect()Josh Triplett-2/+1
2018-09-01tidy: extdeps.rs: Clean up loop iteration to use "for"Josh Triplett-2/+1
Also eliminates a clippy lint.
2018-09-01tidy: cargo.rs: Clean up loop to use "for" instead of "while let"Josh Triplett-2/+1
Eliminates a clippy warning. Also drop the unnecessary `.peekable()`.
2018-09-01tidy: Clean up argument handlingJosh Triplett-5/+2
Use `.nth(n)` rather than `.skip(n).next()` (also fixes a clippy warning), and use `.into()` and a type signature rather than `PathBuf::from`.
2018-09-01tidy: Use is_empty() instead of len testsJosh Triplett-2/+2
Fixes a clippy warning, and improves readability.