about summary refs log tree commit diff
path: root/src/tools
AgeCommit message (Collapse)AuthorLines
2019-11-12Compiletest bump to stage0 bootstrap libtestMark Rousskov-0/+2
2019-11-12Fix mdbook-linkcheck license checks.Eric Huss-0/+3
2019-11-12Update mdbook.Eric Huss-31/+10
2019-11-12Update Cargo, booksEric Huss-0/+0
2019-11-11Update clippyManish Goregaokar-7/+7
2019-11-11Auto merge of #66213 - tmiasko:mandatory-error-warn, r=petrochenkovbors-2/+11
Make error and warning annotations mandatory in UI tests This change makes error and warning annotations mandatory in UI tests. The only exception are tests that use error patterns to match compiler output and don't have any annotations. Fixes #55596.
2019-11-11Update clippyManish Goregaokar-11/+7
2019-11-10Make error and warning annotations mandatory in UI testsTomasz Miąsko-2/+11
This change makes error and warning annotations mandatory in UI tests. The only exception are tests that use error patterns to match compiler output and don't have any annotations.
2019-11-09update miriRalf Jung-7/+7
2019-11-08check for sould-ice either in compilefail or incremental cfailQuentin Boyer-0/+12
2019-11-07putting the failure_status code in header.rsQuentin Boyer-6/+4
2019-11-06Have tidy ensure that we document all `unsafe` blocks in libcoreOliver Scherer-0/+17
2019-11-05Rollup merge of #66053 - RalfJung:miri-toolstate, r=pietroalbiniPietro Albini-1/+23
when Miri tests are not passing, do not add Miri component Second attempt, this time based on the JSON files that exist since https://github.com/rust-lang/rust/pull/65274. Fixes https://github.com/rust-lang/rust/issues/60301 r? @pietroalbini @alexcrichton
2019-11-04more correct error msgRalf Jung-1/+2
2019-11-04avoid using nightly featuresRalf Jung-5/+3
2019-11-03tidyQuentin Boyer-1/+3
2019-11-03remove another status code check is should-iceQuentin Boyer-1/+6
2019-11-03add header to compiletest to check for iceQuentin Boyer-4/+20
2019-11-03don't fail manifest creation if the toolstate file is missing or mal-formedRalf Jung-5/+9
2019-11-03when Miri tests are not passing, do not add Miri componentRalf Jung-1/+20
2019-11-03Validate error patterns and error annotation in ui tests when presentTomasz Miąsko-8/+11
Previously, when compilation succeeded, neither error patterns nor error annotation would be validated. Additionally, when compilation failed, only error patterns would be validated if both error patterns and error annotation were present. Now both error patterns and error annotation are validated when present, regardless of compilation status. Furthermore, for test that should run, the error patterns are matched against executable output, which is what some of tests already expect to happen, and when #65506 is merged even more ui tests will.
2019-11-01Rollup merge of #65946 - ecstatic-morse:refactor-promotion2, r=eddybTyler Mandry-1/+0
Make `promote_consts` emit the errors when required promotion fails A very minimal version of #65942. This will cause a generic "argument X is required to be a constant" message for `simd_shuffle` LLVM intrinsics instead of the [custom one](https://github.com/rust-lang/rust/blob/caa1f8d7b3b021c86a70ff62d23a07d97acff4c4/src/librustc_mir/transform/qualify_consts.rs#L1616). It may be possible to remove this special-casing altogether after rust-lang/stdarch#825. r? @eddyb
2019-11-01Auto merge of #65698 - msizanoen1:dual-proc-macro-hash, r=petrochenkovbors-1/+1
Dual proc macro hash This PR changes current `-Z dual-proc-macro` mechanism from resolving only by name to including the hash of the host crate inside the transistive dependency information to prevent name conflicts. Fix partially #62558
2019-10-31update miriRalf Jung-7/+7
2019-10-31Adjust rustc-workspace-hackmsizanoen1-1/+1
2019-10-30Auto merge of #65957 - Xanewok:update-rls, r=Xanewokbors-0/+0
submodules: Bump RLS to 58869107ec162a821a4bee53cdd3f51c84cda3ea Most importantly it contains https://github.com/rust-lang/rls/commit/d267b49c2f7914f5b4bc94916dc56d64b37adf3a which fixes the RLS build whenever Clippy is built successfully in Rust CI. Closes #65944 r? @ghost
2019-10-30Remove references to now unused `E0526`Dylan MacKenzie-1/+0
It remains as a comment in `error_codes.rs` for consistency with other unused errors.
2019-10-30submodules: Bump RLS to 58869107ec162a821a4bee53cdd3f51c84cda3eaIgor Matuszewski-0/+0
Most importantly it contains https://github.com/rust-lang/rls/commit/d267b49c2f7914f5b4bc94916dc56d64b37adf3a which fixes the RLS build whenever Clippy is built successfully in Rust CI.
2019-10-30Auto merge of #65941 - ehuss:update-cargo-books, r=alexcrichtonbors-0/+0
Update cargo, books. ## cargo 8 commits in 3ba5f27170db10af7a92f2b682e049397197b8fa..5da4b4d47963868d9878480197581ccbbdaece74 2019-10-22 15:05:18 +0000 to 2019-10-28 21:53:41 +0000 - Add --filter-platform to `cargo metadata`. (rust-lang/cargo#7376) - Fix `cargo fix` not showing colors. (rust-lang/cargo#7550) - Rephrase --manifest-path section (rust-lang/cargo#7409) - Add a note to discourage the use of -Zminimal-versions. (rust-lang/cargo#7549) - Fix profile override warning in a workspace. (rust-lang/cargo#7536) - Fix some tests failing on Windows nightly. (rust-lang/cargo#7534) - Show better error message for Windows abnormal termination. (rust-lang/cargo#7535) - Run `apt update` before `apt install` (rust-lang/cargo#7541) ## reference 8 commits in 5b9d2fcefadfc32fceafacfc0dd9441d9b57dd94..4b21b646669e0af49fae7cae301898dc4bfaa1f0 2019-10-03 22:39:10 +0200 to 2019-10-27 22:33:11 +0100 - Document `const_constructor` feature (rust-lang-nursery/reference#677) - Add `non_exhaustive` to reference. (rust-lang-nursery/reference#609) - Re-add rust-docs component for lintcheck (rust-lang-nursery/reference#702) - group signed and unsigned integers in layout table (rust-lang-nursery/reference#700) - Fix layout table rendering (rust-lang-nursery/reference#699) - Add reference for attributes in function parameters (rust-lang-nursery/reference#657) - Update now that proc macros can expand to macro_rules. (rust-lang-nursery/reference#694) - Fix match in union example. (rust-lang-nursery/reference#684) ## book 8 commits in 9bb8b161963fcebc9d9ccd732ba26f42108016d5..28fa3d15b0bc67ea5e79eeff2198e4277fc61baf 2019-10-14 18:42:55 -0500 to 2019-10-29 07:16:09 -0500 - Update Ch19.1 on slice splitting (rust-lang/book#1999) - fixed inconsistent terminology regarding enums (rust-lang/book#2022) - Update ch15-03 code to match output. (rust-lang/book#2020) - Fixes rust-lang/book#2039 (rust-lang/book#2040) - Update ch15-03-drop.md (rust-lang/book#2049) - unit type value is also a value (rust-lang/book#2061) - Minor: remove an extraneous `.` (rust-lang/book#2059) - Clarifications and consistent use of quotation marks (rust-lang/book#1992) ## rust-by-example 4 commits in 0b111eaae36cc4b4997684be853882a59e2c7ca7..f3197ddf2abab9abdbc029def8164f4a748b0d91 2019-10-14 18:34:25 -0300 to 2019-10-29 10:17:40 -0300 - Fix typos (rust-lang/rust-by-example#1285) - Improve Cargo / Dependencies section (rust-lang/rust-by-example#1287) - Improve Cargo / Build Scripts section (rust-lang/rust-by-example#1288) - Make if_let exercise runnable (rust-lang/rust-by-example#1289)
2019-10-29Auto merge of #65943 - tmandry:rollup-g20uvkh, r=tmandrybors-4/+7
Rollup of 12 pull requests Successful merges: - #65405 (Create new error E0742 and add long error explanation) - #65539 (resolve: Turn the "non-empty glob must import something" error into a lint) - #65724 (ci: refactor pr tools job skipping) - #65741 (Prevent help popup to disappear when clicking on it) - #65832 (Re-enable Emscripten's exception handling support) - #65843 (Enable dist for MIPS64 musl targets) - #65898 (add basic HermitCore support within libtest) - #65900 (proc_macro: clean up bridge::client::__run_expand{1,2} a bit.) - #65906 (Update mdbook to 0.3.3) - #65920 (Use rustc-workspace-hack for rustbook) - #65930 (doc: use new feature gate for c_void type) - #65936 (save-analysis: Account for async desugaring in async fn return types) Failed merges: - #65434 (Add long error explanation for E0577) r? @ghost
2019-10-29Rollup merge of #65920 - smaeul:patch/workspace-hack, r=alexcrichtonTyler Mandry-0/+5
Use rustc-workspace-hack for rustbook As rustbook now depends transitively on openssl, it needs access to the rustc-workspace-hack/all-static feature to pick up openssl-sys/vendored. This fixes the rust build with `all-static = true` on systems where openssl is not installed (e.g. when cross-compiling).
2019-10-29Rollup merge of #65843 - xen0n:mips64-musl-targets-with-ci, r=alexcrichtonTyler Mandry-0/+2
Enable dist for MIPS64 musl targets Continuing work in #63165, necessary libc changes are in place and published so here we go!
2019-10-29Rollup merge of #65832 - tlively:emscripten-exception-handling, r=alexcrichtonTyler Mandry-4/+0
Re-enable Emscripten's exception handling support Passes LLVM codegen and Emscripten link-time flags for exception handling if and only if the panic strategy is `unwind`. Sets the default panic strategy for Emscripten targets to `unwind`. Re-enables tests that depend on unwinding support for Emscripten, including `should_panic` tests. r? @alexcrichton
2019-10-29Update cargo, books.Eric Huss-0/+0
2019-10-28Use rustc-workspace-hack for rustbookSamuel Holland-0/+5
As rustbook now depends transitively on openssl, it needs access to the rustc-workspace-hack/all-static feature to pick up openssl-sys/vendored. This fixes the rust build with `all-static = true` on systems where openssl is not installed (e.g. when cross-compiling).
2019-10-28submodules: update clippy from 66df92ae to c8e3cfbdMatthias Krüger-7/+11
Changes: ```` travis: temporarily disable rustfmt ci check until #4742 is resolved rustup https://github.com/rust-lang/rust/pull/65792/ Fix ICE #4579 Add regression test for ICE #4579 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 [Backported] Rustup to https://github.com/rust-lang/rust/pull/59545 ```` Fixes ##65888
2019-10-26Auto merge of #65852 - flip1995:clippyup, r=Manishearthbors-13/+7
Update Clippy Fixes https://github.com/rust-lang/rust/pull/65845#issuecomment-546633123 r? @Manishearth
2019-10-26Update Clippyflip1995-13/+7
2019-10-26Auto merge of #65167 - hermitcore:rusty-hermit, r=alexcrichtonbors-0/+3
Redesign the interface to the unikernel HermitCore We are developing the unikernel HermitCore, where the kernel is written in Rust and is already part of the Rust Standard Library. The interface between the standard library and the kernel based on a small C library. With this pull request, we remove completely the dependency to C and use lld as linker. Currently, the kernel will be linked to the application as static library, which is published at https://github.com/hermitcore/libhermit-rs. We don’t longer support the C interface to the kernel. Consequently, we remove this part from the Rust Standard Library.
2019-10-26ci: add support for MIPS64 musl targetsWang Xuerui-0/+2
2019-10-26update miriRalf Jung-7/+7
2019-10-26update MiriRalf Jung-7/+7
2019-10-25Re-enable Emscripten's exception handling supportThomas Lively-4/+0
Passes LLVM codegen and Emscripten link-time flags for exception handling if and only if the panic strategy is `unwind`. Sets the default panic strategy for Emscripten targets to `unwind`. Re-enables tests that depend on unwinding support for Emscripten, including `should_panic` tests.
2019-10-25Auto merge of #65764 - Manishearth:clippyup, r=Manishearthbors-21/+16
Update clippy Fixes #65754 r? @ghost
2019-10-25Merge branch 'master' into rusty-hermit, resolve conflictsStefan Lankes-16/+51
2019-10-24Rollup merge of #65710 - ehuss:update-cargo, r=alexcrichtonMazdak Farrokhzad-0/+0
Update cargo 6 commits in 3a9abe3f065554a7fbc59f440df2baba4a6e47ee..3ba5f27170db10af7a92f2b682e049397197b8fa 2019-10-15 15:55:35 +0000 to 2019-10-22 15:05:18 +0000 - Fix typo in `cargo install --profile` help (rust-lang/cargo#7532) - Use stricter -Z flag parsing. (rust-lang/cargo#7531) - Set timestamp on generated files in archive to now (rust-lang/cargo#7523) - Support rustc's `-Z panic-abort-tests` in Cargo (rust-lang/cargo#7460) - rustfmt for nightly changes. (rust-lang/cargo#7526) - Allow --all-features in root of virtual workspace. (rust-lang/cargo#7525)
2019-10-24Update clippyManish Goregaokar-21/+16
2019-10-24Auto merge of #65474 - Mark-Simulacrum:rustc-dev-split, r=pietroalbinibors-0/+30
Split the rustc target libraries into separate rustc-dev component This is re-applies a squashed version of #64823 as well as including #65337 to fix bugs noted after merging the first PR. The second PR is confirmed as fixing windows-gnu, and presumably also fixes other platforms, such as musl (i.e. #65335 should be fixed); `RUSTUP_DIST_SERVER=https://dev-static.rust-lang.org rustup toolchain install nightly-2019-10-16` can be installed to confirm that this is indeed the case.
2019-10-23Rollup merge of #65657 - nnethercote:rm-InternedString-properly, r=eddybMazdak Farrokhzad-1/+0
Remove `InternedString` This PR removes `InternedString` by converting all occurrences to `Symbol`. There are a handful of places that need to use the symbol chars instead of the symbol index, e.g. for stable sorting; local conversions `LocalInternedString` is used in those places. r? @eddyb
2019-10-22Update cargoEric Huss-0/+0