about summary refs log tree commit diff
path: root/src/tools
AgeCommit message (Collapse)AuthorLines
2020-03-04update miriRalf Jung-7/+9
2020-03-03Add test for -Znew-llvm-pass-manager -Clto=thin -Zsanitizer=...Tomasz Miąsko-0/+18
Additionally verify that the current implementation of LLVM version check (which uses lexicographic ordering) is good enough to exclude versions before LLVM 9, where the new LLVM pass manager is unsupported.
2020-03-03Use .next() instead of .nth(0) on iterators.Matthias Krüger-1/+1
2020-03-02Update cargo, clippyEric Huss-7/+7
2020-03-02Extend json detection in runtestGuillaume Gomez-1/+3
2020-03-02Ignore PAL lint for std::panickingMark Rousskov-0/+2
2020-02-29[tidy] update documentation from `make check` to `x.py test`Chris Simpkins-2/+2
2020-02-29Rename `syntax` to `rustc_ast` in source codeVadim Petrochenkov-2/+2
2020-02-29Make it build againVadim Petrochenkov-1/+1
2020-02-29Stop generating `compiler_builtins_lib` docYuki Okushi-30/+2
2020-02-28AArch64 bare-metal targets: Build rust-stdAndre Richter-0/+2
This patch enables building of rust-std for the aarch64 bare-metal targets. For the compiler intrinsics, it fetches the AArch64 bare-metal target (aarch64-none-elf) GCC for the A-profile provided by ARM itself from https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-a/downloads
2020-02-28Rollup merge of #69449 - JohnTitor:toolstate-ping, r=Mark-SimulacrumDylan DPC-4/+3
Do not ping PR reviewers in toolstate breakage As per https://github.com/rust-lang/rust/issues/69419#issuecomment-590470520 We should also remove author part?
2020-02-25Auto merge of #69421 - flip1995:clippyup, r=Dylan-DPCbors-10/+8
Update Clippy from 8fbb23f to fc5d0cc Fixes #69419 ``` Fix false positive in `missing_const_for_fn` Rustup to rust-lang/rust#69366 Add new lint [`wildcard imports`]. Add suggestion to [`enum_glob_use`] Add new lint `lossy_float_literal` to detect lossy whole number float literals ```
2020-02-25Auto merge of #69428 - matthiaskrgr:submodule_upd, r=Xanewokbors-0/+0
submodules: update rls from 10bf331 to 5fde462 Changes: ```` Update cargo. ```` Fixes #69383 Fixes #69286 r? @Xanewok
2020-02-25Do not ping PR reviewers in toolstate breakageYuki Okushi-4/+3
2020-02-24Auto merge of #69344 - RalfJung:miri, r=oli-obkbors-7/+7
bump Miri Fixes https://github.com/rust-lang/rust/issues/69331 r? @ghost Cc @oli-obk
2020-02-24submodules: update rls from 10bf331 to 5fde462Matthias Krüger-0/+0
Changes: ```` Update cargo. ```` Fixes #69383 Fixes #69286 r? @Xanewok
2020-02-24bump Miri once moreRalf Jung-7/+7
2020-02-24Update Clippyflip1995-10/+8
2020-02-23Auto merge of #69336 - Mark-Simulacrum:no-infra-toolstate, r=Dylan-DPCbors-2/+2
Do not ping the infrastructure team on toolstate changes To my knowledge, there is essentially never any particular action that the infra team needs to take on these pings, and they are currently relatively annoying. cc rust-lang/infra -- does anyone *want* these notifications?
2020-02-21Update cargoEric Huss-0/+0
2020-02-21fix miri and bootstrap interactionRalf Jung-9/+7
2020-02-21Auto merge of #69347 - matthiaskrgr:submodule_upd, r=Xanewokbors-0/+0
submodules: update rls from 0100ac8 to 10bf331 Changes: ```` Update cargo ```` r? @Xanewok
2020-02-21submodules: update rls from 0100ac8 to 10bf331Matthias Krüger-0/+0
Changes: ```` Update cargo ````
2020-02-21bump MiriRalf Jung-7/+9
2020-02-21Update Clippyflip1995-8/+10
2020-02-20Do not ping the infrastructure team on toolstate changesMark Rousskov-2/+2
To my knowledge, there is essentially never any particular action that the infra team needs to take on these pings, and they are currently relatively annoying.
2020-02-19Rollup merge of #69142 - ehuss:linkcheck-script, r=alexcrichtonDylan DPC-0/+113
Add shared script for linkchecking books. This adds a script that can be used on each book's CI to ensure they don't break local links. I've been running something similar on the reference CI. The intent here is to add this to all the external books' CI scripts. This will help avoid dealing with broken links when updating submodules on rust-lang/rust.
2020-02-19Auto merge of #69278 - matthiaskrgr:submodule_upd, r=Dylan-DPCbors-9/+7
submodules: update clippy from b91ae16e to 2855b214 Changes: ```` Rustup to rust-lang/rust#69194 Rustup to rust-lang/rust#69181 Add `LOG2_10` and `LOG10_2` to `approx_const` lint Clean up imports Use `Vec::with_capacity()` as possible needless_doctest_main: False positive for async fn Remove use of `TyKind`. Use `if_chain`. Fix ICE. Add tests and improve checks. Add `Future` detection for `missing_errors_doc`. ```` Fixes #69269
2020-02-19Auto merge of #69265 - ehuss:update-cargo, r=Dylan-DPCbors-0/+0
Update cargo 9 commits in 3c53211c3d7fee4f430f170115af5baad17a3da9..e02974078a692d7484f510eaec0e88d1b6cc0203 2020-02-07 15:35:03 +0000 to 2020-02-18 15:24:43 +0000 - Set an environment variable for tests to find executables. (rust-lang/cargo#7697) - Rework internal errors. (rust-lang/cargo#7896) - Improvements to StringList config handling. (rust-lang/cargo#7891) - Add new/old rustflags to fingerprint log. (rust-lang/cargo#7890) - Fix inaccurate doc comment on `env_args`. (rust-lang/cargo#7889) - Add some extra fingerprint debug information. (rust-lang/cargo#7888) - Link the licenses into crates/cargo-platform (rust-lang/cargo#7886) - Modify test to make `rustc` PR mergeable (rust-lang/cargo#7883) - Keep environment variables in a BTreeMap to preserve sort order (rust-lang/cargo#7877)
2020-02-19submodules: update clippy from b91ae16e to 2855b214Matthias Krüger-9/+7
Changes: ```` Rustup to rust-lang/rust#69194 Rustup to rust-lang/rust#69181 Add `LOG2_10` and `LOG10_2` to `approx_const` lint Clean up imports Use `Vec::with_capacity()` as possible needless_doctest_main: False positive for async fn Remove use of `TyKind`. Use `if_chain`. Fix ICE. Add tests and improve checks. Add `Future` detection for `missing_errors_doc`. ```` Fixes #69269
2020-02-18Auto merge of #69262 - Dylan-DPC:rollup-m6dt9cn, r=Dylan-DPCbors-9/+2
Rollup of 5 pull requests Successful merges: - #69181 (Change const eval to just return the value ) - #69192 (Add more regression tests) - #69200 (Fix printing of `Yield` terminator) - #69205 (Allow whitespaces in revision flags) - #69233 (Clean up E0310 explanation) Failed merges: r? @ghost
2020-02-18Update cargoEric Huss-0/+0
2020-02-18Rollup merge of #69205 - JohnTitor:allow-whitespaces, r=Mark-SimulacrumDylan DPC-9/+2
Allow whitespaces in revision flags Allow whitespaces in revision flags, like `// [foo]`. Fixes #69183
2020-02-17Update ClippyYuki Okushi-8/+8
2020-02-16Auto merge of #67885 - tobithiel:fix_group_lint_allow_override, ↵bors-11/+28
r=Mark-Simulacrum rustc_session: allow overriding lint level of individual lints from a group Fixes #58211 and fixes rust-lang/rust-clippy#4778 and fixes rust-lang/rust-clippy#4091 Instead of hard-coding the lint level preferences (from lowest to highest precedence: `lint::Allow -> lint::Warn -> lint::Deny -> lint::Forbid`), the position of the argument in the command line gets taken into account. Examples: 1. Passing `-D unused -A unused-variables` denies everything in the lint group `unused` **except** `unused-variables` which is explicitly allowed. 1. Passing `-A unused-variables -D unused` denies everything in the lint group `unused` **including** `unused-variables` since the allow is specified before the deny (and therefore overridden by the deny). This matches the behavior that is already being used when specifying `allow`/`deny` in the source code.
2020-02-16Allow whitespaces in revision flagsYuki Okushi-9/+2
2020-02-14Auto merge of #69115 - ehuss:update-books, r=Dylan-DPCbors-7/+28
Update books. This required some changes in how the books are tested due to some changes in rust-lang/book. It uses new syntax that is not compatible with bare `rustdoc --test`. This changes it so that it uses rustbook to run the tests, which is essentially the same as `mdbook test`. ## reference 7 commits in 11e893fc1357bc688418ddf1087c2b7aa25d154d..64239df6d173562b9deb4f012e4c3e6e960c4754 2020-01-18 21:24:08 +0100 to 2020-02-10 19:05:13 +0100 - Update for nested receivers. (rust-lang-nursery/reference#724) - clarify note re. leading `::` in 2018 (rust-lang-nursery/reference#752) - Update macro-ambiguity.md (rust-lang-nursery/reference#754) - typo fix: add missing `by` (rust-lang-nursery/reference#753) - fix `TypeParamBounds` link on trait objects (rust-lang-nursery/reference#749) - reorganize docs on references (rust-lang-nursery/reference#745) - add MacroRepOp usage for ? (rust-lang-nursery/reference#744) ## book 49 commits in 87dd6843678575f8dda962f239d14ef4be14b352..6fb3705e5230311b096d47f7e2c91f9ce24393d0 2020-01-20 15:20:40 -0500 to 2020-02-12 13:48:57 -0500 - Fix nomicon links. (rust-lang/book#2253) - Update to Rust 1.41.0 (rust-lang/book#2244) - Listing 19-6: use ptr.add instead of ptr.offset (rust-lang/book#2201) - Remove unneeded mutable reference - Clarify deref coercion explanation - Fix typo in link to 1.30 book - Acknowledge Murphy's Law - Clarify that buffer overread is UB in C - Change from "must" to "idiomatic" about comments - Fancy quotes - Make HashMap types match previous example; add fwd ref to ch 13 - Tweak wording to array clarification - Merge remote-tracking branch 'origin/pr/2236' - Update all our crates (rust-lang/book#2235) - Reword git caveat - Merge remote-tracking branch 'origin/pr/2234' - Merge remote-tracking branch 'origin/pr/2230' - println! is a macro (rust-lang/book#2224) - Update a translated version link (rust-lang/book#2221) - move `Macro invocation` from section on tuple to section on mac… (rust-lang/book#2206) - Do not limit `Self` usage in trait implementation (rust-lang/book#2197) - Merge remote-tracking branch 'origin/pr/2191' - Fix wrapping - Merge remote-tracking branch 'origin/pr/2187' - Updated appendix 07 to reflect deprecation of rustup install (rust-lang/book#2181) - Make links to the Nomicon consistent - Merge remote-tracking branch 'origin/pr/2180' - Merge remote-tracking branch 'origin/pr/2175' - Merge remote-tracking branch 'origin/pr/2171' - Merge remote-tracking branch 'origin/pr/2170' - Clarify and make consistent the explanation of unions - Merge remote-tracking branch 'origin/pr/2166' - Handle dev or test in the Finished output line - Link to macros by example rather than macros (rust-lang/book#2164) - Merge remote-tracking branch 'origin/pr/2147' - Fix parens (rust-lang/book#2132) - Clarify type inference with closures requires calling the closures - Update link to French translation (rust-lang/book#2119) - Merge remote-tracking branch 'origin/pr/2108' - Add an explicit cross reference to data type - Merge remote-tracking branch 'origin/pr/2105' - ch15-02-deref: Improve explanation on immut-to-mut (rust-lang/book#2030) - Remove unnecessary quotes - Make markdown link identifier match - Remove extra newline - Merge remote-tracking branch 'origin/pr/2004' - Extract code and output; script formatting and updating them (rust-lang/book#2231) - Switch "Finally" to "Next" to reflect new chapters having been… (rust-lang/book#2098) - ch19-06 added curly braces to macro output (rust-lang/book#2050) ## rust-by-example 2 commits in 1c2bd024d13f8011307e13386cf1fea2180352b5..32facd5522ddbbf37baf01e4e4b6562bc55c071a 2020-01-20 12:18:36 -0300 to 2020-02-11 09:25:06 -0300 - Add missing `dyn` in code sample (rust-lang/rust-by-example#1306) - Improve grammar in a few sections (rust-lang/rust-by-example#1305) ## edition-guide 1 commits in 1a2390247ad6d08160e0dd74f40a01a9578659c2..37f9e6848411188a1062ead1bd8ebe4b8aa16899 2019-12-29 10:40:55 -0800 to 2020-02-10 14:36:14 +0100 - Fixed typo (rust-lang-nursery/edition-guide#196) ## embedded-book 4 commits in 4d78994915af1bde9a95c04a8c27d8dca066232a..b2e1092bf67bd4d7686c4553f186edbb7f5f92db 2020-01-14 08:25:25 +0000 to 2020-01-30 08:45:46 +0000 - Make typestate initialization notes correct (rust-embedded/book#224) - Mention discovery book more prominently (rust-embedded/book#219) - Replace nursery links with rust-lang links (rust-embedded/book#222) - Add a Glossary appendix page (rust-embedded/book#223)
2020-02-14update miriRalf Jung-7/+7
2020-02-13don't error on network failuresMark Mansi-0/+2
2020-02-13Add shared script for linkchecking books.Eric Huss-0/+113
2020-02-13Update books.Eric Huss-7/+28
2020-02-12Update RLS and RustfmtIgor Matuszewski-21/+7
Bumps rustc-ap-* packages to v642.
2020-02-12Auto merge of #69088 - JohnTitor:rollup-x7bk7h7, r=JohnTitorbors-6/+11
Rollup of 11 pull requests Successful merges: - #67695 (Added dyn and true keyword docs) - #68487 ([experiment] Support linking from a .rlink file) - #68554 (Split lang_items to crates `rustc_hir` and `rustc_passes`.) - #68937 (Test failure of unchecked arithmetic intrinsics in const eval) - #68947 (Python script PEP8 style guide space formatting and minor Python source cleanup) - #68999 (remove dependency on itertools) - #69026 (Remove common usage pattern from `AllocRef`) - #69027 (Add missing `_zeroed` varants to `AllocRef`) - #69058 (Preparation for allocator aware `Box`) - #69070 (Add self to .mailmap) - #69077 (Fix outdated doc comment.) Failed merges: r? @ghost
2020-02-12Rollup merge of #68947 - chrissimpkins:python-fmt, r=alexcrichtonYuki Okushi-6/+11
Python script PEP8 style guide space formatting and minor Python source cleanup This PR includes the following changes in the Python sources based on a flake8 3.7.9 (mccabe: 0.6.1, pycodestyle: 2.5.0, pyflakes: 2.1.1) CPython 3.7.6 on Darwin lint: - PEP8 style guide spacing updates *without* line length changes - removal of unused local variable assignments in context managers and exception handling - removal of unused Python import statements - removal of unnecessary semicolons
2020-02-12Auto merge of #68998 - lzutao:clippyup, r=Manishearthbors-7/+9
Update clippy Closes #68901
2020-02-12Update clippyLzu Tao-7/+9
2020-02-10submodules: update cargo from 9d32b7b01 to 3c53211c3Matthias Krüger-0/+1
Changes: ```` Update jobserver. Update tar. Emit report on error with Ztimings. Do not run `formats_source` if `rustfmt` is not available Fix rebuild_sub_package_then_while_package on HFS. Remove likely brittle test. Install rustfmt for testing in CI Fix build-std collisions. Fix BuildScriptOutput when a build script is run multiple times. Fix required-features using renamed dependencies. Fix using global options before an alias. Update changelog for 1.42. Bump to 0.44.0. Log rustfmt output if it fails; also do not check that rustfmt exists Update pretty_env_logger requirement from 0.3 to 0.4 Swap std::sync::mpsc channel with crossbeam_channel Fix tests on Linux/MacOS Fix typo. Add tests Deduplicate warnings about missing rustfmt Log entry 2: first implementation Refactor code Stabilize config-profile. Log entry 1 Format code Remove tempdir after install Keep existing package with git install Use non-ephemeral workspace Test that git install reads virtual manifest Fix failing test Search for root manifest with ephemeral workspaces Support out-dir in build section of Cargo configuration file ````
2020-02-07PEP8 format spacingChris Simpkins-6/+11
2020-02-07update miriRalf Jung-9/+7