about summary refs log tree commit diff
path: root/src/tools/unstable-book-gen
AgeCommit message (Collapse)AuthorLines
2022-08-28unstable-book-gen: use std::fs::writeest31-23/+10
I wrote this code in 2017 back when std::fs::write wasn't available. Also, use the t macro from tidy.
2022-03-10Use implicit capture syntax in format_argsT-O-R-U-S-1/+1
This updates the standard library's documentation to use the new syntax. The documentation is worthwhile to update as it should be more idiomatic (particularly for features like this, which are nice for users to get acquainted with). The general codebase is likely more hassle than benefit to update: it'll hurt git blame, and generally updates can be done by folks updating the code if (and when) that makes things more readable with the new format. A few places in the compiler and library code are updated (mostly just due to already having been done when this commit was first authored).
2021-09-20Migrate to 2021Mark Rousskov-1/+1
2021-07-29rfc3052: Remove authors field from Cargo manifestsJade-2/+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.
2020-09-20Replace write_fmt with write!est31-2/+2
Latter is simpler
2020-08-30mv compiler to compiler/mark-4/+6
2020-08-24unstable-book-gen: fix clippy::single_char_pattern and clippy::iter_skip_nextMatthias Krüger-3/+3
2020-07-28Collect library features from library/Mark Rousskov-3/+5
2020-06-25Support configurable deny-warnings for all in-tree crates.Eric Huss-2/+0
2019-12-22Format the worldMark Rousskov-48/+44
2019-12-21Update unstable book build to use NonZeroU32LeSeulArtichaut-12/+3
2019-09-23Add `#![deny(warnings)]` to internal toolsAlex Crichton-0/+2
2019-07-28Remove lint annotations in specific crates that are already enforced by ↵Vadim Petrochenkov-5/+0
rustbuild Remove some random unnecessary lint `allow`s
2019-05-09Switch to SPDX 2.1 license expressionDavid Tolnay-1/+1
According to the Cargo Reference: https://doc.rust-lang.org/cargo/reference/manifest.html > This is an SPDX 2.1 license expression for this package. Currently > crates.io will validate the license provided against a whitelist of > known license and exception identifiers from the SPDX license list > 2.4. Parentheses are not currently supported. > > Multiple licenses can be separated with a `/`, although that usage > is deprecated. Instead, use a license expression with AND and OR > operators to get more explicit semantics.
2019-04-07Change root path for unstable-bookBastian Gruber-8/+5
2019-04-06path -> fromBastian Gruber-2/+2
2019-04-06Remove copy_book_toml method in favor for copy_recursiveBastian Gruber-7/+0
2019-04-06Add book.toml to tools/unstable, add copy_book_toml to sciptBastian Gruber-0/+10
2019-02-04Transition tidy and unstable-book-gento 2018 editionHirokazu Hata-1/+3
2018-12-25Remove licensesMark Rousskov-10/+0
2018-05-27Ensure every unstable feature has a tracking issue.kennytm-1/+1
2018-03-26rustbuild: Fail the build if we build Cargo twiceAlex Crichton-0/+4
This commit updates the `ToolBuild` step to stream Cargo's JSON messages, parse them, and record all libraries built. If we build anything twice (aka Cargo) it'll most likely happen due to dependencies being recompiled which is caught by this check.
2018-01-13Enforce dashes in the unstable book file namesest31-6/+9
Also rename the existing underscore using files to use dashes. Fixes #47394.
2018-01-01prevent generating duplicate stubstinaun-5/+3
2017-10-13remove duplicate stubstinaun-1/+5
2017-06-18Sort entries of SUMMARY.md alphabeticallyest31-9/+9
2017-06-16Introduce tidy lint to check for inconsistent tracking issuesest31-2/+1
This commit * Refactors the collect_lib_features function to work in a non-checking mode (no bad pointer needed, and list of lang features). * Introduces checking whether unstable/stable tags for a given feature have inconsistent tracking issues. * Fixes such inconsistencies throughout the codebase.
2017-06-14Autogenerate stubs and the summary of the unstable bookest31-0/+178