about summary refs log tree commit diff
path: root/src/tools/tidy/Cargo.toml
AgeCommit message (Collapse)AuthorLines
2023-04-06bump few depsklensy-1/+1
2023-01-20run cargo install to check for x installation and versionDebugSteven-0/+1
2023-01-14Rollup merge of #106470 - ehuss:tidy-no-wasm, r=Mark-SimulacrumMatthias Krüger-0/+1
tidy: Don't include wasm32 in compiler dependency check This changes the tidy compiler dependency check so that it does not include wasm32-unknown-unknown dependencies in the PERMITTED_RUSTC_DEPENDENCIES. This just helps keep the list cleaner under the assumption that the compiler will never work on wasm32-unknown-unknown. This also fixes a bug in the check to verify there are no unused dependencies in the PERMITTED_RUSTC_DEPENDENCIES. Previously the check was verifying that the dependency was used *anywhere* in the workspace, when it should have been checking if it was used for the compiler. There's also just a little general cleanup here. For example, the old `normal_deps_of_r` function was changed a while ago to return *all* dependencies, but the function name and description wasn't updated to remove `normal_`.
2023-01-11Revert "warn newer available version of the x tool"J Haigh-1/+0
2023-01-04tidy: Don't include wasm32 in compiler dependency checkEric Huss-0/+1
2023-01-02use cargo_metadata to get x versionDebugSteven-1/+0
2023-01-02get latest x version from parsing cargo commandDebugSteven-0/+1
2022-12-31spawn x command and compare semversDebugSteven-0/+1
2022-12-30Make tidy errors redNilstrieb-0/+1
This makes it easier to see them (and makes people go owo).
2022-11-04Rollup merge of #103958 - chenyukang:yukang/fix-103951-count-limit, r=jyn514Matthias Krüger-0/+1
Test tidy should not count untracked paths towards entries limit Fixes #103951 r? `@jyn514`
2022-11-04test tidy should not count untracked paths towards entries limityukang-0/+1
2022-10-31Detect unused files in `src/test/mir-opt` and error on them in tidy.Jakob Degen-0/+1
2022-08-21tidy: remove crossbeam-utilsEric Huss-1/+0
2022-02-07cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, ↵klensy-1/+1
`semver-parser` versions pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to. itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106) markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14) num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1) openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2021-09-20Migrate to 2021Mark Rousskov-1/+1
2021-07-29rfc3052: Remove authors field from Cargo manifestsJade-1/+0
Since RFC 3052 soft deprecated the authors field anyway, hiding it from crates.io, docs.rs, and making Cargo not add it by default, and it is not generally up to date/useful information, we should remove it from crates in this repo.
2021-07-04tidy: update cargo_metadata to 0.12klensy-1/+1
2021-03-01parallelize tidy checksThe8472-0/+1
2021-02-24Rename the `tidy` binary to `rust-tidy`Joshua Nelson-0/+5
This avoids naming collisions, particularly on Windows where the dynamic library variable is PATH and setting it causes the in-tree `tidy` to take precedence over the HTML tidy used by compiletest.
2020-08-21bump tidy to cargo_metadata 0.11Jubilee Young-1/+1
Updates cargo_metadata in tidy's Cargo.toml from 0.9.1 to 0.11 Real version change 0.9.11 -> 0.11.1 https://github.com/oli-obk/cargo_metadata/compare/v0.9.1...v0.11.1
2020-03-12tidy: Use cargo_metadata for license checks.Eric Huss-2/+1
2019-06-23Use walkdir crateMark Rousskov-0/+1
It's more efficient than the fs::read_dir API
2019-06-23Cache Regex'sMark Rousskov-0/+1
2019-05-09remove unneeded `extern crate`s from build toolsAndy Russell-2/+1
2019-05-03Migrate tidy to rust 2018 editionAlexey Shmalko-0/+1
2019-05-02Make find_attr_val a little bit more preciseAlexey Shmalko-0/+1
`find_attr_val(&line, "since")` returns `Some(", issue = ")` when `line` is set to the following line: ``` [unstable(feature = "checked_duration_since", issue = "58402")] ``` Make `find_attr_val` use regex that is a little bit more precise (requires `=` after key name). It still does not handle all cases (e.g., extra leading chars in key name, or escaped quotes in value), but is good enough for now.
2018-03-05Start adding a whitelist for rustc dependenciesMark Mansi-0/+5
2017-04-18Add top level sections to the Unstable Book.Corey Farwell-3/+0
Prior to this commit, the contents of the Unstable Book were assumed to be unstable features. This commit moves features into 'language features' or 'library features' subsections. It also moves the 'linker_flavor' compiler flag into a new 'Compiler Flags' subsection. Even though it was helpful, I removed the tidy check that cross-references the SUMMARY.md links with the Unstable Book directory contents just because it would be difficult to maintain. Relevant PR: https://github.com/rust-lang/rust/issues/41142.
2017-03-31Sync all unstable features with Unstable Book; add tidy lint.Corey Farwell-0/+1
Add a tidy lint that checks for... * Unstable Book sections with no corresponding SUMMARY.md links * unstable features that don't have Unstable Book sections * Unstable Book sections that don't have corresponding unstable features
2016-04-12rustbuild: Migrate tidy checks to RustAlex Crichton-0/+6
This commit rewrites all of the tidy checks we have, namely: * featureck * errorck * tidy * binaries into Rust under a new `tidy` tool inside of the `src/tools` directory. This at the same time deletes all the corresponding Python tidy checks so we can be sure to only have one source of truth for all the tidy checks. cc #31590