about summary refs log tree commit diff
path: root/Cargo.toml
AgeCommit message (Collapse)AuthorLines
2025-09-02Revert introduction of `[workspace.dependencies]`.Nicholas Nethercote-27/+0
This was done in #145740 and #145947. It is causing problems for people using r-a on anything that uses the rustc-dev rustup package, e.g. Miri, clippy. This repository has lots of submodules and subtrees and various different projects are carved out of pieces of it. It seems like `[workspace.dependencies]` will just be more trouble than it's worth.
2025-08-28Add `rustc-demangle` to `[workspace.dependencies]`.Nicholas Nethercote-0/+1
2025-08-28Add `polonius-engine` to `[workspace.dependencies]`.Nicholas Nethercote-0/+1
2025-08-28Add `odht` to `[workspace.dependencies]`.Nicholas Nethercote-0/+1
2025-08-28Add `scoped-tls` to `[workspace.dependencies]`.Nicholas Nethercote-0/+1
2025-08-28Add `measureme` to `[workspace.dependencies]`.Nicholas Nethercote-0/+1
2025-08-28Add `derive-where` to `[workspace.dependencies]`.Nicholas Nethercote-0/+1
2025-08-28Add `rustc-hash` to `[workspace.dependencies]`.Nicholas Nethercote-0/+1
2025-08-28Add `indexmap` to `[workspace.dependencies]`.Nicholas Nethercote-0/+1
2025-08-28Add `tempfile` to `[workspace.dependencies]`.Nicholas Nethercote-0/+1
2025-08-28Add `rustc_apfloat` to `[workspace.dependencies]`.Nicholas Nethercote-0/+1
2025-08-28Add `proc-macro2` and `quote` to `[workspace.dependencies]`.Nicholas Nethercote-0/+2
2025-08-28Add `either` to `[workspace.dependencies]`.Nicholas Nethercote-0/+1
2025-08-28Add `serde_json` to `[workspace.dependencies]`.Nicholas Nethercote-0/+1
2025-08-28Add `libc` to `[workspace.dependencies]`.Nicholas Nethercote-0/+3
2025-08-27Add `itertools` to `[workspace.dependencies]`.Nicholas Nethercote-0/+1
2025-08-27Add `tracing` to `[workspace.dependencies]`.Nicholas Nethercote-0/+1
2025-08-27Add `rustc-literal-escaper` to `[workspace.dependencies]`.Nicholas Nethercote-0/+1
2025-08-27Add `memchr` to `[workspace.dependencies]`.Nicholas Nethercote-0/+1
2025-08-27Add `bitflags` to `[workspace.dependencies]`.Nicholas Nethercote-0/+1
2025-08-27Add `thin-vec` to newly added `[workspace.dependencies]`.Nicholas Nethercote-0/+5
2025-07-15Remove current implementation of `./x suggest`Jieyou Xu-1/+0
This is quite a bit of implementation complexity, yet it is quite broken, and we don't have the maintenance bandwidth to address. Remove the current implementation if only to reduce bootstrap's implementation complexity; the `suggest` flow comes with its own set of hacks.
2025-06-25Auto merge of #140999 - hkBst:update-escaper, r=nnethercotebors-0/+5
update to literal-escaper 0.0.4 for better API without `unreachable` and faster string parsing This is the replacement for just the part of https://github.com/rust-lang/rust/pull/138163 dealing with the changed API of unescape functionality, since that got moved into its own crate. <del>This uses an unpublished version of literal-escaper (https://github.com/rust-lang/literal-escaper/pull/8).</del> r? `@nnethercote`
2025-06-23update to literal-escaper 0.0.4 for better API without `unreachable` and ↵Marijn Schouten-0/+5
faster string parsing
2025-06-11Another round of tidy / warning fixesCelina G. Val-1/+1
2025-06-03move `test-float-parse` tool into `src/tools` dironur-ozkan-1/+1
Obviously `test-float-parse` is a tool like any other in `src/tools`. Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-03-13Alphabetize the root workspace membersJosh Stone-24/+26
2025-03-13Add `src/tools/x` to the main workspaceJosh Stone-5/+1
The original reason to exclude it was so it could run before submodules were initialized. However, those have all been converted to subtrees now, so the entire workspace is always ready to go.
2025-03-12remove rls source from the repositoryonur-ozkan-1/+0
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-03-10Revert "Use workspace lints for crates in `compiler/` #138084"许杰友 Jieyou Xu (Joe)-14/+0
Revert <https://github.com/rust-lang/rust/pull/138084> to buy time to consider options that avoids breaking downstream usages of cargo on distributed `rustc-src` artifacts, where such cargo invocations fail due to inability to inherit `lints` from workspace root manifest's `workspace.lints` (this is only valid for the source rust-lang/rust workspace, but not really the distributed `rustc-src` artifacts). This breakage was reported in <https://github.com/rust-lang/rust/issues/138304>. This reverts commit 48caf81484b50dca5a5cebb614899a3df81ca898, reversing changes made to c6662879b27f5161e95f39395e3c9513a7b97028.
2025-03-08Add `unreachable_pub` to the default lints for `compiler/` crates.Nicholas Nethercote-0/+1
And fix the new errors in the handful of crates that didn't have a `#![warn(unreachable_pub)]`.
2025-03-08Specify rust lints for `compiler/` crates via Cargo.Nicholas Nethercote-0/+13
By naming them in `[workspace.lints.rust]` in the top-level `Cargo.toml`, and then making all `compiler/` crates inherit them with `[lints] workspace = true`. (I omitted `rustc_codegen_{cranelift,gcc}`, because they're a bit different.) The advantages of this over the current approach: - It uses a standard Cargo feature, rather than special handling in bootstrap. So, easier to understand, and less likely to get accidentally broken in the future. - It works for proc macro crates. It's a shame it doesn't work for rustc-specific lints, as the comments explain.
2025-02-17Move error_index_generator to the rustbook workspaceEric Huss-1/+0
I had forgotten that error_index_generator is using mdbook. This moves it to be part of the rustbook workspace so that it can share the dependency with rustbook.
2025-02-05Remove the `rustc-perf-wrapper` toolJakub Beránek-1/+0
2025-01-26features-status-dump: add new build-metrics tool许杰友 Jieyou Xu (Joe)-0/+1
Co-authored-by: Jane Losare-Lusby <jlusby42@gmail.com>
2024-11-11move `src/tools/build_helper` into `src/build_helper`onur-ozkan-1/+1
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-11-04update rustc-std-workspace cratesRalf Jung-0/+3
- make rustc-std-workspace-core/alloc re-exports of their underlying crates, like std = cleanup manifests
2024-08-18Switch to using the v2 resolver in most workspacesTrevor Gross-1/+1
Pinning the resolver to v1 was done in 5abff3753a7c ("Explicit set workspace.resolver ...") in order to suppress warnings. Since there is no specific reason not to use the new resolver and since it fixes issues, change to `resolver = "2"` everywhere except library and submodules.
2024-08-02Move the standard library to a separate workspacebjorn3-37/+0
This ensures that the Cargo.lock packaged for it in the rust-src component is up-to-date, allowing rust-analyzer to run cargo metadata on the standard library even when the rust-src component is stored in a read-only location as is necessary for loading crates.io dependencies of the standard library. This also simplifies tidy's license check for runtime dependencies as it can now look at all entries in library/Cargo.lock without having to filter for just the dependencies of runtime crates. In addition this allows removing an exception in check_runtime_license_exceptions that was necessary due to the compiler enabling a feature on the object crate which pulls in a dependency not allowed for the standard library. While cargo workspaces normally enable dependencies of multiple targets to be reused, for the standard library we do not want this reusing to prevent conflicts between dependencies of the sysroot and of tools that are built using this sysroot. For this reason we already use an unstable cargo feature to ensure that any dependencies which would otherwise be shared get a different -Cmetadata argument as well as using separate build dirs. This doesn't change the situation around vendoring. We already have several cargo workspaces that need to be vendored. Adding another one doesn't change much. There are also no cargo profiles that are shared between the root workspace and the library workspace anyway, so it doesn't add any extra work when changing cargo profiles.
2024-07-22Move rustbook to its own workspace.Eric Huss-1/+0
2024-07-20Move `test-float-parse` to the global workspaceTrevor Gross-0/+13
Since `test-float-parse` is now implemented in Rust, we can move it into the global workspace and check dependency licenses.
2024-07-09Promote the `wasm32-wasip2` target to Tier 2Alex Crichton-0/+4
This commit promotes the `wasm32-wasip2` Rust target to tier 2 as proposed in rust-lang/compiler-team#760. There are two major changes in this PR: 1. The `dist-various-2` container, which already produces the other WASI targets, now has an extra target added for `wasm32-wasip2`. 2. A new `wasm-component-ld` binary is added to all host toolchains when LLD is enabled. This is the linker used for the `wasm32-wasip2` target. This new linker is added for all host toolchains to ensure that all host toolchains can produce the `wasm32-wasip2` target. This is similar to how `rust-lld` was originally included for all host toolchains to be able to produce WebAssembly output when the targets were first added. The new linker is developed [here][wasm-component-ld] and is pulled in via a crates.io-based dependency to the tree here. [wasm-component-ld]: https://github.com/bytecodealliance/wasm-component-ld
2024-06-27Implement `x perf` as a separate toolJakub Beránek-0/+1
2024-06-19Remove `src/tools/rust-demangler`Zalathar-1/+0
2024-04-29Remove the `expand-yaml-anchors` toolJakub Beránek-1/+0
2024-04-26Remove unused `[patch]` for clippy_lintsAlex Macleod-3/+0
2024-04-07Remove debuginfo from rustc-demangle tooMark Rousskov-0/+1
This is done for the same reason as the other dependencies in this list.
2024-03-20Add a testBen Kimock-9/+0
2024-03-11LLVM Bitcode Linker: Added crateKjetil Kjeka-0/+1
2024-02-29Add supporting infrastructure for `run-make` V2 tests许杰友 Jieyou Xu (Joe)-0/+1