summary refs log tree commit diff
path: root/src/tools
AgeCommit message (Collapse)AuthorLines
2019-08-02[BETA] Update cargoEric Huss-0/+0
2019-07-01bump miri to fix line endings on azurePietro Albini-8/+8
2019-07-01Update RLS to disable spurious client_find_definitions testIgor Matuszewski-0/+0
Since switching CI to Azure Pipelines it seems that this test seems to fail more consistently, so let's disable that for now. It helps that we have less than a week before release - we disallow PRs that break the tools to land in this period, so this makes landing critical PRs smoother now. r? @alexcrichton
2019-06-30Update mirivarkor-8/+8
2019-06-29Rollup merge of #62023 - RalfJung:miri-toolstate, r=kennytmMazdak Farrokhzad-28/+33
publish_toolstate: don't use 'new' from inside the loop I think I made a mistake in https://github.com/rust-lang/rust/pull/61938 by using `new` outside the inner loop. This PR fixes that. However, no issue got created at all for https://github.com/rust-lang/rust/pull/62003#issuecomment-504356964, and I don't know why that is. The script should be [triggered by Traivs](https://github.com/rust-lang/rust/blob/56a12b2ad058f22f1ef090713df15598525ba4a4/.travis.yml#L240), and I can find no trace of that in [the build log](https://travis-ci.com/rust-lang/rust/jobs/209880042).
2019-06-29Rollup merge of #61755 - Centril:compiletest-force-check, r=petrochenkovMazdak Farrokhzad-26/+90
Add `--pass $mode` to compiletest through `./x.py` Adds a flag `--pass $mode` to compiletest, which is exposed through `./x.py`. When `--pass $mode` is passed, `{check,build,compile,run}-pass` tests will be forced to run under the given `$mode` unless the directive `// ignore-pass` exists in the test file. The modes are explained in https://github.com/rust-lang/rust/pull/61778: - `check` has the same effect as `cargo check` - `build` or `compile` have the same effect as `cargo build` - `run` has the same effect as `cargo run` On my machine, `./x.py -i test src/test/run-pass --stage 1 --pass check` takes 38 seconds whereas it takes 2 min 7 seconds without `--pass check`. cc https://github.com/rust-lang/rust/issues/61712 r? @petrochenkov
2019-06-29Auto merge of #62105 - JohnTitor:update-miri, r=RalfJungbors-7/+9
Update miri Fixes #62101 r? @RalfJung
2019-06-27Rollup merge of #62176 - Xanewok:update-rls, r=alexcrichtonMazdak Farrokhzad-0/+0
Update RLS Merged PRs: * fix(cmd): make clear_env_rust_log default to false (https://github.com/rust-lang/rls/pull/1486) - Retain `RUST_LOG` in `rls --cli` mode * Pass --file-lines to rustfmt only if specified (https://github.com/rust-lang/rls/pull/1497) - Fix entire-file formatting when using external rustfmt (specified via `rustfmt_path` config) * Ensure that --error-format is only passed once to `rustc` (https://github.com/rust-lang/rls/pull/1500) - Unbreaks RLS when used together with Cargo [pipelining build](https://github.com/rust-lang/rust/issues/60988) feature (@alexcrichton I'd consider this a stabilization blocker, mind adding it to the tracking issue for the record? :bowing_man: )
2019-06-27Update RLSIgor Matuszewski-0/+0
2019-06-27Update miriYuki Okushi-7/+9
2019-06-26Hash force_pass_mode when config.mode == Pretty.Mazdak Farrokhzad-1/+1
2019-06-26submodules: Update clippy from 8c80b65f to e3cb40e4Lzu Tao-11/+9
2019-06-24Update cargoEric Huss-0/+0
2019-06-24Address review comments.Mazdak Farrokhzad-23/+20
2019-06-24submodules: Update clippy from 5a11ed7b to 8c80b65fLzu Tao-33/+10
2019-06-24compiletest: support '--pass check' and '// ignore-pass'.Mazdak Farrokhzad-22/+89
2019-06-23Auto merge of #62037 - Mark-Simulacrum:tidy-fast, r=eddybbors-144/+169
Speed up tidy master: Time (mean ± σ): 3.478 s ± 0.033 s [User: 3.298 s, System: 0.178 s] Range (min … max): 3.425 s … 3.525 s 10 runs This PR: Time (mean ± σ): 1.098 s ± 0.006 s [User: 783.7 ms, System: 310.2 ms] Range (min … max): 1.092 s … 1.113 s 10 runs Alleviates https://github.com/rust-lang/rust/issues/59884. For the most part each commit stands on its own. Timings are on warm filesystem cache. r? @eddyb
2019-06-23Auto merge of #61778 - petrochenkov:pass, r=Mark-Simulacrumbors-49/+59
compiletest: Introduce `// {check,build,run}-pass` pass modes Pass UI tests now have three modes ``` // check-pass // build-pass // run-pass ``` mirroring equivalent well-known `cargo` commands. `// check-pass` will compile the test skipping codegen (which is expensive and isn't supposed to fail in most cases). `// build-pass` will compile and link the test without running it. `// run-pass` will compile, link and run the test. Tests without a "pass" annotation are still considered "fail" tests. Most UI tests would probably want to switch to `check-pass`. Tests validating codegen would probably want to run the generated code as well and use `run-pass`. `build-pass` should probably be rare (linking tests?). https://github.com/rust-lang/rust/pull/61755 will provide a way to run the tests with any mode, e.g. bump `check-pass` tests to `run-pass` to satisfy especially suspicious people, and be able to make sure that codegen doesn't breaks in some entirely unexpected way. Tests marked with any mode are expected to pass with any other mode, if that's not the case for some legitimate reason, then the test should be made a "fail" test rather than a "pass" test. Perhaps some secondary CI can verify this invariant, but that's not super urgent. `// compile-pass` still works and is equivalent to `build-pass`. Why is `// compile-pass` bad - 1) it gives an impression that the test is only compiled, but not linked, 2) it doesn't mirror a cargo command. It can be removed some time in the future in a separate PR. cc https://github.com/rust-lang/rust/issues/61712
2019-06-23Exit early from feature search if no features in fileMark Rousskov-2/+10
2019-06-23Collect features only onceMark Rousskov-37/+51
2019-06-23Use Path/PathBuf directly instead of through path::Mark Rousskov-9/+8
2019-06-23Skip querying each ignore directive if none in fileMark Rousskov-7/+14
2019-06-23Utilize entry.metadata over fs::symlink_metadataMark Rousskov-1/+1
2019-06-23Move file-reading into walker loopMark Rousskov-67/+36
2019-06-23Pass contents and DirEntry to walkersMark Rousskov-12/+29
2019-06-23Stop calling format! to check feature gateMark Rousskov-2/+4
2019-06-23Use walkdir crateMark Rousskov-12/+9
It's more efficient than the fs::read_dir API
2019-06-23Cache Regex'sMark Rousskov-3/+15
2019-06-23Make tidy quieter by defaultMark Rousskov-13/+13
2019-06-22update miriRalf Jung-18/+7
2019-06-21do as tidy saysRalf Jung-1/+2
2019-06-21don't make PR author assignee; that break creating the issue when they are ↵Ralf Jung-1/+0
not a team member
2019-06-21show HTTP error bodyRalf Jung-1/+3
2019-06-21fix long lineRalf Jung-1/+2
2019-06-21submodules: Update clippy from 149a988 to 5a11ed7bLzu Tao-7/+34
2019-06-21dump the JSON we are going to submit to GH to create the issueRalf Jung-19/+21
2019-06-21give a bit more context in the error messageRalf Jung-2/+2
2019-06-21publish_toolstate: don't use 'new' from inside the loopRalf Jung-5/+5
2019-06-20Update mdbookEric Huss-10/+9
2019-06-19Auto merge of #61967 - lzutao:clippy-update, r=oli-obkbors-7/+7
submodules: Update clippy from 868f168c to 149a988 r? @oli-obk
2019-06-19Update clippy from 868f168c to 149a988Lzu Tao-7/+7
2019-06-19Rollup merge of #61861 - topecongiro:rustfmt-1.3.0, r=topecongiroMazdak Farrokhzad-5/+21
Update rustfmt and rls This PR bumps the version of rustfmt to 1.3.0.
2019-06-19Update rustfmt and rlstopecongiro-5/+21
Update rustfmt to 1.3.0.
2019-06-18create an issue for miri even in status test-failRalf Jung-8/+17
2019-06-18Auto merge of #61932 - matthiaskrgr:submodule_upd, r=oli-obkbors-9/+7
submodules: update clippy from be5d17fe to 868f168c Changes: ```` rustup https://github.com/rust-lang/rust/pull/61836/ fix suggestion for floating points inequality ```` r? @oli-obk
2019-06-18submodules: update clippy from be5d17fe to 868f168cMatthias Krüger-9/+7
Changes: ```` rustup https://github.com/rust-lang/rust/pull/61836/ fix suggestion for floating points inequality ````
2019-06-18update miriRalf Jung-6/+18
2019-06-17Add `syn` to workspace hack.Eric Huss-2/+3
Cargo's syn now has the `full` feature, so add it here to keep it in sync.
2019-06-17Update cargoEric Huss-0/+0
2019-06-16submodules: update clippy from 7b2a7a22 to be5d17feMatthias Krüger-8/+10
Changes: ```` Fix wrong lifetime of TyCtxt Use replace_region_in_file for creating the lint list Restructure rename tests Register rename to the LintStore. Rename REDUNDANT_STATIC_LIFETIME to REDUNDANT_STATIC_LIFETIMES. Remove pub from RedundantStaticLifetime.visit_type function. Rename const_static_lifetime to redundant_static_lifetime. Merge StaticConst and StaticStatic lints into StaticConst. Use RedundantStaticLifetime in StaticStatic. Move type-checking logic in StaticConst to RedundantStaticLifetime. Add lint for statics with explicit static lifetime. minor fix make it pass dogfood run rustfmt fix padding and put clippy someplaces show default lint levels group printing prelim arg parse move Lint static def into its own module switch to sorted usable lints Update clippy_dev/src/main.rs initial commit for help improvements on clippy-driver ````