about summary refs log tree commit diff
path: root/src/tools
AgeCommit message (Collapse)AuthorLines
2018-05-02Update RLS and RustfmtNick Cameron-5/+5
2018-04-30Update Cargo to 2018-04-28 122fd5be5201913d42e219e132d6569493583bcaSimon Sapin-0/+0
2018-04-30Update RustfmtNick Cameron-17/+5
2018-04-28Update clippy submodulePhilipp Hansch-18/+16
2018-04-27Auto merge of #49891 - cuviper:compiletest-crash, r=alexcrichtonbors-0/+2
compiletest: detect non-ICE compiler panics Fixes #49888, but will be blocked by revealing #49889.
2018-04-26handle license checkNick Cameron-1/+2
2018-04-26Update rustfmt and rlsNick Cameron-5/+17
2018-04-25compiletest: introduce skip-transTatsuyuki Ishi-3/+21
2018-04-24compiletest: detect non-ICE compiler panicsJosh Stone-0/+2
2018-04-24Auto merge of #49933 - oli-obk:miri_rustup, r=eddybbors-18/+18
Fix the miri tool r? @eddyb cc @bjorn3 fixes #49777
2018-04-24Rollup merge of #49812 - ehuss:ui-test-revisions, r=nikomatsakiskennytm-53/+59
Fix revision support for UI tests. Fixes #48878
2018-04-23Fix the miri toolOliver Schneider-18/+18
2018-04-22Update MDBookMatt Ickstadt-1/+1
2018-04-22Auto merge of #50135 - matklad:update-cargo, r=kennytmbors-0/+0
Update Cargo Some noteble changes: * ~~regression fix: https://github.com/rust-lang/cargo/pull/5390~~ * ~~potentially breaking bug-fix: https://github.com/rust-lang/cargo/pull/5389~~ * ~~Cargo now caches the result of `rustc -vV`. It checks `rustc` binary mtime and rustup toolchain settings, so it should probably "just work" with rustbuild.~~ potentially breaking bug-fix: https://github.com/rust-lang/cargo/pull/5390
2018-04-21update testerGuillaume Gomez-0/+2
2018-04-21Update CargoAleksey Kladov-0/+0
Some noteble changes: * regression fix: https://github.com/rust-lang/cargo/pull/5390 * potentially breaking bug-fix: https://github.com/rust-lang/cargo/pull/5389 * Cargo now caches the result of `rustc -vV`. It checks `rustc` binary mtime and rustup toolchain settings, so it should probably "just work" with rustbuild.
2018-04-21Auto merge of #50056 - alexcrichton:update-cargo, r=Mark-Simulacrumbors-0/+0
Update the Cargo submodule
2018-04-20Add doc for output_base_name_stage.Eric Huss-0/+2
2018-04-20Fix revision support for UI tests.Eric Huss-53/+57
Fixes #48878
2018-04-20Update the Cargo submoduleAlex Crichton-0/+0
2018-04-20Fix #50113: must explicitly request file name when using with_file_name.Felix S. Klock II-2/+4
2018-04-19Auto merge of #50020 - oli-obk:clippy, r=Manishearthbors-16/+18
Update clippy r? @Manishearth
2018-04-19Update clippyOliver Schneider-16/+18
2018-04-18When running under compare-mode=nll, generate expected output to ↵Felix S. Klock II-2/+8
`foo.nll.stderr` This allows easy revision of the update-references.sh script (included here) so that it can update the expected output for nll rather than stderr. It also reminds the rustc developer via the filename that they are looking at output generated under comapre-mode=nll. One could argue that there is still a problem with the strategy encoded here: if we reach a scenario where a change to the compiler brings the output under AST and NLL modes back into sync, this code will continue to still generate output to distinct `foo.stderr` and `foo.nll.stderr` files, and will continue to copy those two files back to corresponding distinct files in the source tree, even if the *content* of the two files is now the same. * Arguably the "right thing" to do in that case is to remove the `foo.nll.stderr` file entirely. * However, I think the real answer is that we will probably want to double-check such cases by hand anyway. We should be regularly double-checking the diffs between `foo.stderr` and `foo.nll.stderr`, and if we see a zero-diff case, then we should evaluate whether that is correct, and if so, remove the file by hand.) * In any case, I think the default behavior encoded here (or at least *intended* to be encoded here) is superior to the alternative of *only* generating a `foo.nll.stderr` file if one already existed in the source tree at the time that `compiletest` was invoked (and otherwise unconditionally generating a `foo.stderr` file, as was the behavior prior to this commit), because that alternative is more likely to cause rustc developers to overwrite a `foo.stderr` file with the stderr output from a compare-mode=nll run, which will then break the *normal* `compiletest` run and probably be much more confusing for the average rustc developer.
2018-04-18Generate separate stamp files for `--compare-mode=nll`, and also use them. :)Felix S. Klock II-3/+8
2018-04-18Change output of `compiletest` to include the compare-mode when present.Felix S. Klock II-2/+6
E.g. when running with `--compare-mode=nll`, then each test line will look like e.g.: ``` test [ui (nll)] ui/issue-10969.rs ... ok ```
2018-04-18Update RustfmtNick Cameron-5/+5
2018-04-17Auto merge of #50033 - GuillaumeGomez:rollup, r=GuillaumeGomezbors-2/+3
Rollup of 4 pull requests Successful merges: - #49699 (Removed 'proc' from the reserved keywords list) - #49966 (Multiple query search) - #50013 (Remove no longer necessary comparison to Vec::splice.) - #50032 (rustdoc: Don't include private paths in all.html) Failed merges:
2018-04-17Rollup merge of #49966 - GuillaumeGomez:comma-search, r=QuietMisdreavusGuillaume Gomez-2/+3
Multiple query search Part of #49757. r? @QuietMisdreavus
2018-04-17Auto merge of #49836 - nikomatsakis:nll-facts-prep, r=pnkfelixbors-1/+1
prep work for using timely dataflow with NLL Two major changes: **Two-phase borrows are overhauled.** We no longer have two bits per borrow. Instead, we track -- for each borrow -- an (optional) "activation point". Then, for each point P where the borrow is in scope, we check where P falls relative to the activation point. If P is between the reservation point and the activation point, then this is the "reservation" phase of the borrow, else the borrow is considered active. This is simpler and means that the dataflow doesn't have to care about 2-phase at all, at last not yet. **We no longer support using the MIR borrow checker without NLL.** It is going to be increasingly untenable to support lexical mode as we go forward, I think, and also of increasingly little value. This also exposed a few bugs in NLL mode due to increased testing. r? @pnkfelix cc @bobtwinkles
2018-04-16Add rustdoc-ui test suiteGuillaume Gomez-22/+35
2018-04-15remove -Znll -- borrowck=mir implies nll nowNiko Matsakis-1/+1
2018-04-14Add multi-query searchGuillaume Gomez-2/+3
2018-04-14Rollup merge of #49951 - matklad:update-cargo, r=nrckennytm-0/+0
Update Cargo This includes https://github.com/rust-lang/cargo/pull/5353, which we want to test via opt-in in the wild. This'll break RLS, the fix is https://github.com/rust-lang-nursery/rls/pull/822
2018-04-14Update RustfmtNick Cameron-5/+5
2018-04-13Rename must-compile-successfully into compile-passGuillaume Gomez-9/+9
2018-04-13Update RLSAleksey Kladov-0/+0
2018-04-13Update CargoAleksey Kladov-0/+0
This includes https://github.com/rust-lang/cargo/pull/5353, which we might want to test via opt-in in the wild
2018-04-11Auto merge of #49875 - kennytm:rollup, r=kennytmbors-1/+1
Rollup of 14 pull requests Successful merges: - #49525 (Use sort_by_cached_key where appropriate) - #49575 (Stabilize `Option::filter`.) - #49614 (in which the non-shorthand patterns lint keeps its own counsel in macros) - #49665 (Small nits to make couple of tests pass on mips targets.) - #49781 (add regression test for #16223 (NLL): use of collaterally moved value) - #49795 (Properly look for uninhabitedness of variants in niche-filling check) - #49809 (Stop emitting color codes on TERM=dumb) - #49856 (Do not uppercase-lint #[no_mangle] statics) - #49863 (fixed typo) - #49857 (Fix "fp" target feature for AArch64) - #49849 (Add --enable-debug flag to musl CI build script) - #49734 (proc_macro: Generalize `FromIterator` impl) - #49730 (Fix ICE with impl Trait) - #48270 (Replace `structurally_resolved_type` in casts check.) Failed merges:
2018-04-12Rollup merge of #49863 - memoryleak47:andorid, r=oli-obkkennytm-1/+1
fixed typo
2018-04-11Auto merge of #49872 - oli-obk:clippy, r=Manishearthbors-14/+14
Update clippy and rls r? @Manishearth
2018-04-11Auto merge of #49861 - pnkfelix:compare-mode-nll-followup-2, r=nikomatsakisbors-2/+29
Blindly checkpoint status of NLL mode ui tests This takes the next (and potentially final?) step with #48879. Namely, this PR got things to the point where I can successfully run `compiletest` on `src/test/ui` with `--compile-mode=nll`. Here are the main pieces of it: 1. To figure out how to even run `compiletest` normally on the ui directory, I ran `x.py test -vv`, and then looked for the `compiletest` invocation that mentioned `src/test/ui`. 2. I took the aforementioned `compiletest` invocation and used it, adding `--compile-mode=nll` to the end. It had 170 failing cases. 3. Due to #49855, I had to edit some of the tests so that they fail even under NLL, via `#[rustc_error]`. That's the first commit. (Then goto 2 to double-check no such tests remain.) 4. I took the generated `build/target/test/foo.stderr` file for every case that failed, and blindly copied it to `src/test/foo.nll.stderr`. That's the second commit. 5. Goto 2 until there were no failing cases. 6. Remove any stamp files, and re-run `x.py test` to make sure that the edits and new `.nll.stderr` files haven't broken the pre-existing test suite.
2018-04-11Update clippy and rlsOliver Schneider-14/+14
2018-04-11Auto merge of #49715 - Mark-Simulacrum:deny-warnings, r=alexcrichtonbors-2/+2
Move deny(warnings) into rustbuild This permits easier iteration without having to worry about warnings being denied. Fixes #49517
2018-04-10Allow incorrectly reported unused attribute warningMark Simulacrum-0/+2
2018-04-11fixed typomemoryleak47-1/+1
2018-04-09Make tidy treat "test/ui/foo.nll.stderr" just like "foo.stderr".Felix S. Klock II-2/+29
2018-04-09Update RustfmtNick Cameron-19/+5
2018-04-08Move deny(warnings) into rustbuildMark Simulacrum-2/+0
This permits easier iteration without having to worry about warnings being denied. Fixes #49517
2018-04-07Rollup merge of #49731 - japaric:std-thumb-for-real, r=alexcrichtonkennytm-0/+4
add THUMB targets to rustup manifest as instructed in https://github.com/rust-lang/rust/pull/49563#issuecomment-379271327 r? @alexcrichton