about summary refs log tree commit diff
path: root/src/tools
AgeCommit message (Collapse)AuthorLines
2019-09-05Merge pull request #17 from rust-lang/masterBaoshan-32/+104
sync with rust-lang/rust master branch
2019-09-05fix reviewer commentsMark Mansi-33/+33
2019-09-05simplify is_vxworks_pure_dynamicBaoshan Pang-8/+1
2019-09-05Fix error index generator for new register_diagnostics APIMark Rousskov-29/+22
2019-09-05Restrict error code length to 80 columnsMark Rousskov-6/+20
The global restriction is 100, but since error codes are printed out via --explain we want to restrict them to just 80 columns.
2019-09-05Update ClippyLzu Tao-8/+8
2019-09-05Rollup merge of #62860 - vi:stabilize_checked_duration_since, r=Mark-SimulacrumMazdak Farrokhzad-2/+2
Stabilize checked_duration_since for 1.38.0 Looks like it has already found some use in projects. Resolves #58402.
2019-09-05Avoid feature name 'checked_duration_since' in a Tidy testVitaly _Vi Shukela-2/+2
2019-09-04Auto merge of #64150 - ehuss:update-cargo-books, r=alexcrichtonbors-0/+0
Update cargo, books ## cargo 8 commits in 22f7dd0495cd72ce2082d318d5a9b4dccb9c5b8c..fe0e5a48b75da2b405c8ce1ba2674e174ae11d5d 2019-08-27 16:10:51 +0000 to 2019-09-04 00:51:27 +0000 - Rename `--all` to `--workspace` (rust-lang/cargo#7241) - Basic standard library support. (rust-lang/cargo#7216) - Allow using 'config.toml' instead of just 'config' files. (rust-lang/cargo#7295) - Retry on SSL Connect Error. (rust-lang/cargo#7318) - minimal-copy `deserialize` for `InternedString` (rust-lang/cargo#7310) - Fix typo in cargo vendor examples (rust-lang/cargo#7320) - Fixes around multiple `[patch]` per crate (rust-lang/cargo#7303) - Improve error messages on mkdir failure (rust-lang/cargo#7306) ## reference 7 commits in d191a0cdd3b92648e0f1e53b13140a14677cc65b..090c015f7939665866432c334957bd536c811870 2019-08-15 08:42:23 +0200 to 2019-09-03 13:59:28 -0700 - Fix rust-lang-nursery/reference#664: Review Oxford comma usage. (rust-lang-nursery/reference#668) - Fix some links. (rust-lang-nursery/reference#667) - Remove trait object warning. (rust-lang-nursery/reference#666) - Specify pattern types in `let` statements and `for` expressions (rust-lang-nursery/reference#663) - Fix loop expression link. (rust-lang-nursery/reference#662) - async-await initial reference material (rust-lang-nursery/reference#635) - Correct errors in the reference of extern functions definitions and declarations (rust-lang-nursery/reference#652) ## rust-by-example 1 commits in 580839d90aacd537f0293697096fa8355bc4e673..e76be6b2dc84c6a992e186157efe29d625e29b94 2019-08-17 23:17:50 -0300 to 2019-09-03 07:42:26 -0300 - Change link to russian translation repository (rust-lang/rust-by-example#1245) ## embedded-book 1 commits in 432ca26686c11d396eed6a59499f93ce1bf2433c..5ca585c4a7552efb546e7681c3de0712f4ae4fdc 2019-08-09 23:20:22 +0000 to 2019-08-27 13:39:14 +0000 - Fixup book CI (rust-embedded/book#205)
2019-09-04Auto merge of #64125 - JohnTitor:update-clippy, r=oli-obkbors-7/+9
Update Clippy cc https://github.com/rust-lang/rust-clippy/pull/4493 r? @oli-obk
2019-09-04Update cargo, booksEric Huss-0/+0
2019-09-04Merge pull request #15 from Wind-River/bpang-runtestBaoshan-2/+2
change RUST_TEST_DYLINK to RUST_VXWORKS_TEST_DYLINK
2019-09-04Auto merge of #63825 - nathanwhit:check-run-results, r=Mark-Simulacrumbors-23/+93
Allow checking of run-pass execution output in compiletest Closes #63751 Adds a `check-run-results` flag to compiletest headers, which if enabled checks the output of the execution of a run-pass test's binary against expected output.
2019-09-03change RUST_TEST_DYLINK to RUST_VXWORKS_TEST_DYLINKBaoshan Pang-2/+2
2019-09-03Merge pull request #12 from rust-lang/masterBaoshan-84/+171
sync with rust-lang/rust branch master
2019-09-03Add Yaah to clippy toolstain notification listJane Lusby-1/+1
2019-09-03Strip remote-test-client output from run stdoutnathanwhit-2/+18
The remote-test-client outputs a message of the form "uploaded "<build_dir>/<executable_path>", waiting for result" onto stdout when executing a test, which is then captured in the process result. This needs to be removed when comparing the results of the run-pass test execution.
2019-09-03Update ClippyYuki Okushi-7/+9
2019-09-03Rollup merge of #64071 - guanqun:style-fix, r=CentrilMazdak Farrokhzad-2/+2
use just one name when parameters and fields are the same
2019-09-02Ignore check-run-results tests for wasm32-barenathanwhit-0/+5
Ignores run-pass tests with the `check-run-results` flag enabled for the wasm32-bare ("wasm32-unknown-unknown") target, as it does not support printing to stdout/stderr.
2019-09-02following the same styleGuanqun Lu-2/+2
2019-09-01remove the unstable rustdoc parameter --linkerAndreas Jonson-5/+1
use the code generation parameter -Clinker (same parameter as rustc) to control what linker to use for building the rustdoc test executables. closes: #63816
2019-08-31Auto merge of #63975 - topecongiro:rustfmt-1.4.6, r=nikomatsakisbors-6/+21
Update rustfmt to 1.4.6 This PR updates rustfmt to 1.4.6. [CHANGELOG](https://github.com/rust-lang/rustfmt/blob/v1.4.6/CHANGELOG.md#146-2019-08-28).
2019-08-30actually compiles now?Mark Mansi-4/+7
2019-08-30Auto merge of #64018 - flip1995:clippyup, r=oli-obkbors-16/+7
Update Clippy cc rust-lang/rust-clippy#4475 r? @oli-obk
2019-08-30Update Clippyflip1995-16/+7
2019-08-30Auto merge of #63402 - estebank:strip-margin, r=oli-obkbors-0/+1
Strip code to the left and right in diagnostics for long lines Fix #62999.
2019-08-29Auto merge of #63971 - flip1995:clippyup, r=oli-obkbors-7/+16
Update Clippy cc rust-lang/rust-clippy#4462 r? @oli-obk @Manishearth
2019-08-29whitelist wasi crateArtyom Pavlov-0/+1
2019-08-29fix bugs + review commentsMark Mansi-14/+15
2019-08-29add wasi license to the licenses whitelistnewpavlov-0/+1
2019-08-29Merge branch 'master' into bpang-runtestBaoshan-17/+17
2019-08-29Rollup merge of #63984 - cuviper:rust-installer-mem, r=Mark-SimulacrumMazdak Farrokhzad-0/+0
Update rust-installer to limit memory use See https://github.com/rust-lang/rust-installer/pull/98 -- on a many-core machine, the xz memory for so many threads is more than a 32-bit process can handle. The xz stream is now limited to 8 threads. r? @alexcrichton
2019-08-28Update rust-installer to limit memory useJosh Stone-0/+0
2019-08-28Update rustfmt to 1.4.6topecongiro-6/+21
2019-08-28Update Clippyflip1995-7/+16
2019-08-28Notify me (flip1995) when Clippy toolstate changesflip1995-1/+1
2019-08-27Auto merge of #63960 - ehuss:update-cargo, r=alexcrichtonbors-0/+0
Update cargo Update cargo 10 commits in 3f700ec43ce72305eb5315cfc710681f3469d4b4..22f7dd0495cd72ce2082d318d5a9b4dccb9c5b8c 2019-08-19 22:43:12 +0000 to 2019-08-27 16:10:51 +0000 - Update and improve zsh completion (rust-lang/cargo#7296) - Document that `package` can be used in `[patch]` (rust-lang/cargo#7263) - Fix `error:`/`warning:` coloring inconsistency with rustc (rust-lang/cargo#7294) - Tests: Import rustc_plugin from its new location (rust-lang/cargo#7287) - Update README azure badge. (rust-lang/cargo#7293) - Update home dependencies to v0.5 (rust-lang/cargo#7277) - Fix typo (rust-lang/cargo#7279) - Update libgit2 dependencies (rust-lang/cargo#7275) - Fix old lockfile encoding wrt newlines (rust-lang/cargo#7262) - Fix dSYM uplifting when symlink is broken (rust-lang/cargo#7268)
2019-08-27run test for vxWorks in 'pure' static linking mode by default;Baoshan Pang-2/+27
if environment variables 'RUST_TEST_DYLINK' is set to 1, then run test in 'pure' dynamic linking mode
2019-08-27Update cargoEric Huss-0/+0
2019-08-27Auto merge of #63922 - RalfJung:miri, r=nikomatsakisbors-7/+9
update miri Cc @oli-obk Fixes https://github.com/rust-lang/rust/issues/63843
2019-08-27update miriRalf Jung-7/+9
2019-08-26filter linkcheck spurious failureMark Mansi-19/+35
2019-08-26Rollup merge of #63855 - killercup:refactor/feature-gates, r=CentrilMazdak Farrokhzad-7/+15
Refactor feature gates After #63824, this goes a few steps further by - parsing doc comments in the macros to extract descriptions for feature gates, and - introducing a common `Feature` type to replace the tuples used previously to improve readability. The descriptions are not yet used, but I felt like this PR is a useful enough refactoring on its own. r? @Centril
2019-08-25Allow checking of both compile & run output for run-pass testsNathan-18/+34
2019-08-25submodules: update clippy from 2bcb6155948e2f8b86db08152a5f54bd5af625e5 to ↵Philipp Hansch-7/+7
05f603e6cec63d0b2681a84d4a64a51bccac1624
2019-08-24submodules: update clippy from cd3df6be to 2bcb6155Matthias Krüger-11/+7
Changes: ```` Refactor some minor things Use more if-chains Refactor 'lint_or_fun_call' Refactor 'check_unwrap_or_default' Refactor 'check_impl_item' Add missing field to LitKind::Str Run update_lints for Unicode lint Re-add false positive check Add raw string regression test for useless_format lint Re-factor useless_format lint Update Unicode lint tests Add two more tests, allow 2 other lints. Fix `temporary_cstring_as_ptr` false negative Add more testcases for redundant_pattern_matching Fix suggestions for redundant_pattern_matching Add note on how to find the latest beta commit Remove feature gate for async_await Update if_chain doc link Requested test cleanup Requested changes Ignore lines starting with '#' run-rustfix for unseparated-prefix-literals Add autofixable suggestion for unseparated integer literal suffices Further text improvements Add image docs: Explain how to update the changelog ````
2019-08-24Fix tidy feature gate error reportingPascal Hertleif-7/+15
Feature gate definitions were split into multiple files in #63824 but tidy kept reporting the hard-coded path. Now, it shows the full path to the correct file.
2019-08-24Auto merge of #63637 - alexcrichton:remove-libtest-step, r=Mark-Simulacrumbors-0/+22
bootstrap: Merge the libtest build step with libstd Since its inception rustbuild has always worked in three stages: one for libstd, one for libtest, and one for rustc. These three stages were architected around crates.io dependencies, where rustc wants to depend on crates.io crates but said crates don't explicitly depend on libstd, requiring a sysroot assembly step in the middle. This same logic was applied for libtest where libtest wants to depend on crates.io crates (`getopts`) but `getopts` didn't say that it depended on std, so it needed `std` built ahead of time. Lots of time has passed since the inception of rustbuild, however, and we've since gotten to the point where even `std` itself is depending on crates.io crates (albeit with some wonky configuration). This commit applies the same logic to the two dependencies that the `test` crate pulls in from crates.io, `getopts` and `unicode-width`. Over the many years since rustbuild's inception `unicode-width` was the only dependency picked up by the `test` crate, so the extra configuration necessary to get crates building in this crate graph is unlikely to be too much of a burden on developers. After this patch it means that there are now only two build phasese of rustbuild, one for libstd and one for rustc. The libtest/libproc_macro build phase is all lumped into one now with `std`. This was originally motivated by rust-lang/cargo#7216 where Cargo was having to deal with synthesizing dependency edges but this commit makes them explicit in this repository.
2019-08-24Auto merge of #63824 - Centril:split-feature_gate, r=oli-obkbors-1/+8
Refactor `feature_gate.rs` into modules & cleanup Split `src/libsyntax/feature_gate.rs` into `src/libsyntax/feature_gate/` with files: - `accepted.rs` (accepted feature gates) - `removed.rs` (...) - `active.rs` (...) - `builtin_attrs.rs` (definition of builtin attributes and their gates as well as gating `cfg` flags) - `check.rs` (post expansion checking of feature gates) - `mod.rs` (just reexports) Additionally, `tidy.rs` is adjusted to respect the new scheme. Also, `builtin_attrs.rs` sees some cleanup, organization, and DSL-ification to reduce repetition. This is probably best read commit-by-commit I think. r? @oli-obk