about summary refs log tree commit diff
path: root/src/tools
AgeCommit message (Collapse)AuthorLines
2019-01-13Update the const fn tracking issue to the new metabugvarkor-6/+5
2019-01-12Rollup merge of #57510 - nrc:manifest-profiles, r=alexcrichtonMazdak Farrokhzad-1/+24
Add a profiles section to the manifest This supports the profiles work for Rustup in a backwards compatible manner. r? @alexcrichton
2019-01-11Auto merge of #57470 - RalfJung:miri, r=oli-obkbors-14/+14
update miri r? @oli-obk
2019-01-11Add a profiles section to the manifestNick Cameron-1/+24
2019-01-10Integrate miri into build-manifestAlex Crichton-1/+16
This fixes a mistake where miri was accidentally left out of the build-manifest parsing, meaning that today's nightly generated a manifest with invalid urls!
2019-01-09update miriRalf Jung-14/+14
2019-01-08More feature whitelisting of winapiOliver Scherer-0/+3
2019-01-08Adjust cargo workspace hack to miri/cargo interactionsOliver Scherer-1/+4
2019-01-07submodules: update rls from 6f5e4bb to 1a6361bMatthias Krüger-0/+0
Changes: ```` Update Clippy Move TestFailures when collecting failures Update languageserver-types to 0.51.1 update clippy hash and rustc_tools_util and use rustc_tools_util from crates.io Work around https://github.com/rust-lang/rust/pull/55937 Update Clippy... again Update Clippy Update clippy ````
2019-01-07submodules: update clippy from 39bd8449 to c63b6349Matthias Krüger-8/+11
Changes: ```` Revert "tests: used_underscore_binding_macro: disable random_state lint." Revert "Auto merge of #3603 - xfix:random-state-lint, r=phansch" rustup https://github.com/rust-lang/rust/pull/56837 rustup (don't know the exact PR unfortunately) Add itertools to integration tests tests: used_underscore_binding_macro: disable random_state lint. Trigger `use_self` lint in local macros Add run-rustfix where it already passes rustup: https://github.com/rust-lang/rust/pull/55517 Make clippy work with parallel rustc Add ui/for_kv_map test for false positive in #1279 Update to latest compiletest-rs release add testcase for #3462 deps: bump rustc_tools_util version from 0.1.0 to 0.1.1 just in case... Use compiletest's aux-build header instead of include macro rustc_tool_utils: fix failure to create proper non-repo version string when used in crates on crates.io, bump version rustfmt UI test cleanup: Extract ifs_same_cond tests Extract IteratorFalsePositives into option_helpers.rs UI test cleanup: Extract for_kv_map lint tests UI test cleanup: Extract lint from methods.rs test Fix test for rust-lang/rust#57250 Limit infinite_iter collect() check to known types Some improvements to util documentation Use hashset for name blacklist Reformat random_state tests Use node_id_to_type_opt instead of node_it_to_type in random_state Check pattern equality while checking declaration equality random_state lint Move constant write checks to temporary_assignment lint Use an FxHashSet for valid idents in documentation lint Fix suggestion for unnecessary_ref lint Update CONTRIBUTING.md for rustfix tests Update .fixed files via update-references.sh Run rustfix on first UI test Use WIP branch for compiletest_rs ````
2019-01-06slightly optimize compiletest test collectionAndy Russell-34/+27
Save quite a few syscalls and avoiding pushing in a loop.
2019-01-05Rollup merge of #57314 - wiktorkuchta:master, r=Centrilkennytm-1/+1
Fix repeated word typos Inspired by #57295 (I skipped 'be be' because of it) and my [PR in another repo ](https://github.com/e-maxx-eng/e-maxx-eng/pull/389) Not a stupid `sed`, I actually tried to fix case by case.
2019-01-03Update cargoEric Huss-0/+0
2019-01-03Fix repeated word typosWiktor Kuchta-1/+1
Found with `git grep -P '\b([a-z]+)\s+\1\b'`
2018-12-30submodules: update clippy from f7bdf500 to 39bd8449Matthias Krüger-8/+8
Changes: ```` UI test cleanup: Extract iter_skip_next from methods.rs Update test output after rebase Remove false negatives from known problems Implement use_self for tuple structs Document known problems rustup https://github.com/rust-lang/rust/pull/56225/ Remove unnecessary `use` statements after `cargo fix` Apply cargo fix --edition-idioms fixes Use match ergonomics for booleans lint Use match ergonomics for block_in_if_condition lint Use match ergonomics for bit_mask lint Use match ergonomics for attrs lint Use match ergonomics for assign_ops lint Use match ergonomics for artithmetic lint Use match ergonomics for approx_const lint Remove crate:: prefixes from crate paths Support array indexing expressions in unused write to a constant Mark writes to constants as side-effect-less Update README local run command to remove syspath Remove unsafe from consts clippy lints Fix formatting Merge new_without_default_derive into new_without_default Only print out question_mark lint when it actually triggered Add failing test Reinserted commata Recomend `.as_ref()?` in certain situations Deduplicate some code? ````
2018-12-28Update cargo, rls, miriEric Huss-14/+20
2018-12-28Auto merge of #57138 - matthiaskrgr:clippy, r=oli-obkbors-7/+9
submodules: update clippy from fc24fce7 to 721f688e Fixes clippy toolstate. Changes: ```` rustup https://github.com/rust-lang/rust/pull/57069 Rustfmt. fix breakage from rust-lang/rust#57088 fix a couple of ftrivial typos (NFC). update CARGO_CLIPPY_HELP string to suggest tool lints. rustc_tools_util: add readme rustc_tool_utils: expand Cargo.toml with a few keywords in preparation for crates.io release Fix macro detection in `empty_loop`. Changed `macro_backtrace()` to `in_macro()`. Fix lint detection on macro expansion. ```` r? @oli-obk
2018-12-28submodules: update clippy from fc24fce7 to f7bdf500Matthias Krüger-7/+9
Fixes clippy toolstate Changes: ```` Match on ast/hir::ExprKind::Err Update *.stderr files Use -Zui-testing flag Mention S-inactive-closed PRs in the CONTRIBUTING.md tests: fix formatting and update test output base tests: make sure to fail CI if tests need formatting base tests: switch to nightly toolchain before checking formatting of tests with rustfmt rustup https://github.com/rust-lang/rust/pull/57069 Rustfmt. fix breakage from rust-lang/rust#57088 fix a couple of ftrivial typos (NFC). update CARGO_CLIPPY_HELP string to suggest tool lints. rustc_tools_util: add readme rustc_tool_utils: expand Cargo.toml with a few keywords in preparation for crates.io release Fix macro detection in `empty_loop`. Changed `macro_backtrace()` to `in_macro()`. Fix lint detection on macro expansion. ````
2018-12-27Added a job to dry-run the publish_toolstate.py oncekennytm-0/+5
2018-12-26Account for no newline before test annotationsMark Rousskov-3/+6
Previously the license comment would always provide that newline but since that's been removed this change is needed.
2018-12-25Remove licensesMark Rousskov-347/+0
2018-12-25Auto merge of #56962 - nivkner:fixme_fixup4, r=pnkfelixbors-19/+19
address some FIXME whose associated issues were marked as closed part of #44366
2018-12-23submodules: update clippy from a416c5e0 to fc24fce7Matthias Krüger-13/+7
Fixes clippy tool state Changes: ```` FIXME > TODO rustup https://github.com/rust-lang/rust/pull/56992 Document map_clone known problems #498 Remove header link test: panic at map_unit_fn.rs:202 for map() without args rm unused file map_unit_fn.stderr panic at map_unit_fn.rs:202 for map() without args Change contrib.md hierarchy, link to it from readme Workaround rust-lang/rust#43081 Teach `suspicious_else_formatting` about `if .. {..} {..}` Link to `rustc_driver` crate in plugin mutex_atomic: Correct location of AtomicBool and friends Update README local run command to specify syspath Do not mark as_ref as useless if it's followed by a method call Changes lint sugg to bitwise and operator `&` Run update_lints after renaming Rename lint to MODULE_NAME_REPETITIONS Add renaming tests Move renaming to the right place Implements lint for order comparisons against bool fix(module_name_repeat): Try to register renamed lint, not valid yet Fix an endless loop in the tests. Fix `implicit_return` false positives. chore(moduel_name_repeat): Rename stutter lint to module_name_repeat to avoid ableist language Make integration tests fail on 'E0463' base tests: make sure cargo-clippy binary can be called directly Revert "Merge pull request #3257 from o01eg/remove-sysroot" ````
2018-12-22Auto merge of #57063 - kennytm:rollup, r=kennytmbors-12/+24
Rollup of 25 pull requests Successful merges: - #56802 (Add DoubleEndedIterator::nth_back) - #56909 (static eval: Do not ICE on layout size overflow) - #56914 (Ignore ui/target-feature-gate on sparc, sparc64, powerpc, powerpc64 and powerpc64le) - #56919 (Remove a wrong multiplier on relocation offset computation) - #56933 (Add --progress to git submodule commands in x.py) - #56936 (rename div_euc -> div_euclid, and mod_euc -> rem_euclid) - #56941 (deny intra-doc link resolution failures in libstd) - #56945 (Fix rustdoc-js tests) - #56967 (Replace current crate's searchIndex when regenerating) - #56970 (Mem uninit doc ptr drop) - #56973 (make basic CTFE tracing available on release builds) - #56979 (Adding unwinding support for x86_64_fortanix_unknown_sgx target.) - #56981 (miri: allocation is infallible) - #56984 (A few tweaks to dropck_outlives) - #56989 (Fix compiletest `trim` deprecation warnings) - #56992 (suggest similar lint names for unknown lints) - #57002 (Stabilize Vec(Deque)::resize_with) - #57011 (rustdoc: add new CLI flag to load static files from a different location) - #57027 (Optimize away a move) - #57034 (Inline tweaks) - #57039 (Update migrate warning wording.) - #57040 (Fix feature gate to point to 1.32.0 for `path_from_str`) - #57049 (Stabilize #[repr(packed(N))]) - #57050 (Fixed typo in HashMap documentation) - #57052 (Fix stabilization version numbers (exhaustive_integer_patterns + macro_literal_matcher))
2018-12-23Rollup merge of #56945 - JohnHeitmann:rustdoc-js-tester-fix, r=GuillaumeGomezkennytm-2/+14
Fix rustdoc-js tests Fixes rustdoc-js tests by teaching tester.js how to handle single-line js comments. Also, added speculative support for template strings, and warnings for future debuggers.
2018-12-23Rollup merge of #56989 - phansch:fix_compiletest_trim_deprecations, ↵kennytm-10/+10
r=Mark-Simulacrum Fix compiletest `trim` deprecation warnings None
2018-12-22Auto merge of #56680 - vakaras:issue56280, r=nagisabors-10/+16
Use compiletest timestamp to check if the tests should be rerun. An attempt to fix #56280 by checking if timestamps of compile test files are older than the timestamp of the stamp file. ?r nagisa
2018-12-19FIXME(9639) remove fixme and accept non-utf8 paths in compiletestNiv Kaminer-18/+18
2018-12-19Fix compiletest `trim` deprecation warningsPhilipp Hansch-10/+10
2018-12-19Rollup merge of #56947 - hsivonen:neon, r=alexcrichtonPietro Albini-1/+6
Add targets thumbv7neon-linux-androideabi and thumbv7neon-unknown-linux-gnueabihf These two targets enable both thumb-mode and NEON for ARMv7 CPUs. This another attempt at #49902, which cannot be reopened. Between that PR and this one, some subrepos with C code whose build systems were failing went away.
2018-12-19FIXME(44217) remove fixme because the allocator logic was removed, but ↵Niv Kaminer-1/+1
platform specific code remains
2018-12-18Fix rustdoc-js testsJohn Heitmann-2/+14
Fixes rustdoc-js tests by teaching tester.js how to handle single-line js comments. Also, added speculative support for template strings, and warnings for future debuggers.
2018-12-17Address the pull request review comments.Vytautas Astrauskas-14/+12
2018-12-17Use compiletest timestamp to check if the tests should be rerun.Vytautas Astrauskas-10/+18
2018-12-17Auto merge of #56853 - matthiaskrgr:clippy, r=oli-obkbors-19/+12
submodules: update clippy from b7a431ea to a416c5e0 Changes: ```` rustup rust-lang/rust#52994 Fix test Line length fix Remove references to sized for end users Remove DUMMY_SP Add suggestion for replacement Update lint definitions Lint for Vec<Box<T: Sized>> - Closes #3530 Fix doc_markdown mixed case false positive question_mark: Suggest Some(opt?) for if-else redundant_field_names: Do not trigger on path with type params question_mark: Lint only early returns question_mark: Fix applicability Remove obsolete comment new_without_default, partialeq_ne_impl: Use span_lint_node Update .stderr after rebase cargo fmt and remove stabilized feature Make suggestion Applicability::MachineApplicable Address review feedback Extract method Check array lengths to prevent OOB access Add suggestion for explicit_write lint Fix write_with_newline escaping false positive ```` make toolstate green again
2018-12-17Auto merge of #56737 - nnethercote:TokenStream-improvements, r=petrochenkovbors-1/+0
`TokenStream` improvements Some `TokenStream` improvements: shrinking `TokenStream` and some other types, and some other code clean-ups.
2018-12-16Rollup merge of #56832 - alexcrichton:external-demangle, r=Mark-SimulacrumMazdak Farrokhzad-0/+1
std: Use `rustc_demangle` from crates.io No more need to duplicate the demangling routine between crates.io and the standard library, we can use the exact same one!
2018-12-15Auto merge of #56847 - pietroalbini:fix-broken-toolstate, r=pietroalbinibors-25/+7
Revert merge of #56758 - Manishearth:emoji-status-toolstate #56758 is breaking master. r? @ghost cc @Manishearth @kennytm
2018-12-15submodules: update clippy from b7a431ea to a416c5e0Matthias Krüger-19/+12
Changes: ```` rustup rust-lang/rust#52994 Fix test Line length fix Remove references to sized for end users Remove DUMMY_SP Add suggestion for replacement Update lint definitions Lint for Vec<Box<T: Sized>> - Closes #3530 Fix doc_markdown mixed case false positive question_mark: Suggest Some(opt?) for if-else redundant_field_names: Do not trigger on path with type params question_mark: Lint only early returns question_mark: Fix applicability Remove obsolete comment new_without_default, partialeq_ne_impl: Use span_lint_node Update .stderr after rebase cargo fmt and remove stabilized feature Make suggestion Applicability::MachineApplicable Address review feedback Extract method Check array lengths to prevent OOB access Add suggestion for explicit_write lint Fix write_with_newline escaping false positive ````
2018-12-15Revert "Rollup merge of #56758 - Manishearth:emoji-status-toolstate, r=kennytm"Pietro Albini-25/+7
This reverts commit 050bb10dc3e1d1c6a0aee3c50955d401658dece5, reversing changes made to c530e31245ba10b2587bc908a65bd6e7910bc50f.
2018-12-15Rollup merge of #56841 - phansch:add_various_compiletest_unittests, r=oli-obkPietro Albini-0/+54
Add some unit tests to compiletest Based on #56792, otherwise the tests won't be executed on CI. Just a small start, I would like to add more testing to compiletest in the future but that will require some refactoring first. cc #47606
2018-12-15compiletest: unit test parse_normalization_stringPhilipp Hansch-0/+26
There is a FIXME inside that function and I think the unit tests can be helpful to resolve it without breaking anything else.
2018-12-15compiletest: Add some compiletest::util unittestsPhilipp Hansch-0/+28
2018-12-15Rollup merge of #56758 - Manishearth:emoji-status-toolstate, r=kennytmPietro Albini-7/+25
Add short emoji status to toolstate updates I get a lot of these emails and it's good to know which ones I should be paying closer attention to -- i.e. the ones where clippy breaks. This adds a short emoji status report to the first line of the commit message, which shows up in notifications directly I haven't been able to test it, and the actual emoji are just suggestions. r? @kennytm cc @rust-lang/infra @rust-lang/devtools
2018-12-14std: Use `rustc_demangle` from crates.ioAlex Crichton-0/+1
No more need to duplicate the demangling routine between crates.io and the standard library, we can use the exact same one!
2018-12-14Auto merge of #56536 - alexcrichton:update-master, r=Mark-Simulacrumbors-1/+5
Bump to 1.33.0 * Update bootstrap compiler * Update version to 1.33.0 * Remove some `#[cfg(stage0)]` annotations
2018-12-14Auto merge of #56778 - Xanewok:update-clippy, r=kennytmbors-14/+16
Update Clippy Hopefully unbreaks toolstate: https://github.com/rust-lang/rust/pull/56092#issuecomment-446631916
2018-12-13Add targets thumbv7neon-linux-androideabi and ↵Henri Sivonen-1/+6
thumbv7neon-unknown-linux-gnueabihf These two targets enable both thumb-mode and NEON for ARMv7 CPUs.
2018-12-13Add `--pinentry-mode=loopback` to deployment scriptAlex Crichton-1/+2
Apparently this changed with gpg2 or... something like that?
2018-12-13Update ClippyIgor Matuszewski-14/+16