rust/src
bors c07693c160 Auto merge of #116477 - nnethercote:tidy-alpha-deps, r=wesleywiser
Use tidy to enforce alphabetical dependency ordering

I get annoyed when dependencies in `Cargo.toml` files are not in alphabetical order. The [style guide](https://github.com/rust-lang/rust/blob/master/src/doc/style-guide/src/cargo.md) agrees with me.

There are ongoing efforts to provide linting/formatting of `Cargo.toml` files, e.g. https://github.com/rust-lang/rustfmt/pull/5240, https://crates.io/crates/cargo-toml-lint, and https://github.com/TimonPost/cargo-toml-format. But it's far from clear what's the right approach.

So this PR does something very simple: it uses the order checking already present in tidy. This allows incremental application of ordering, starting right now, and avoiding the need for any kind of all-at-once conversion.

If we do end up using some more comprehensive `Cargo.toml` linting/formatting solution in the future, the `tidy-alphabetical` lines will be easy to remove.

r? `@wesleywiser`
2023-10-17 02:48:03 +00:00
..
bootstrap Rollup merge of #116430 - onur-ozkan:vendoring-in-tarball-sources, r=clubby789 2023-10-16 19:10:49 +02:00
ci Build GCC with support for BOLT 2023-10-09 21:46:14 +02:00
doc Rollup merge of #116341 - Ayush1325:uefi-args, r=Mark-Simulacrum 2023-10-15 21:29:07 +02:00
etc generate zsh autocompletion for x 2023-10-15 09:05:55 +03:00
librustdoc Auto merge of #116804 - matthiaskrgr:rollup-m2qm8ul, r=matthiaskrgr 2023-10-16 18:57:44 +00:00
llvm-project@d404cba4e3 Update LLVM submodule 2023-09-28 13:41:02 +02:00
rustdoc-json-types rustdoc-json: Rename typedef to type alias 2023-08-21 14:02:34 -07:00
tools Auto merge of #116477 - nnethercote:tidy-alpha-deps, r=wesleywiser 2023-10-17 02:48:03 +00:00
README.md
stage0.json Bump to latest beta 2023-10-08 19:57:43 -04:00
version Bump to 1.75.0 2023-09-30 19:09:22 -04:00

This directory contains some source code for the Rust project, including:

  • The bootstrapping build system
  • Various submodules for tools, like cargo, tidy, etc.

For more information on how various parts of the compiler work, see the rustc dev guide.