Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use tidy to enforce alphabetical dependency ordering #116477

Merged
merged 2 commits into from
Oct 17, 2023

Commits on Oct 6, 2023

  1. Make tidy-alphabetical-{start,end} work more widely.

    Don't restrict it to lines that have `//` in them. This means it can be
    used in `Cargo.toml` files, for example.
    nnethercote committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    a504c0c View commit details
    Browse the repository at this point in the history
  2. Sort rustc_driver_impl dependencies.

    As per
    https://github.com/rust-lang/rust/blob/master/src/doc/style-guide/src/cargo.md,
    which says:
    
    > Sort key names alphabetically within each section, with the exception
    > of the [package] section.
    
    And use tidy to enforce it.
    nnethercote committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    10ab51d View commit details
    Browse the repository at this point in the history