about summary refs log tree commit diff
path: root/compiler/rustc_traits/Cargo.toml
AgeCommit message (Collapse)AuthorLines
2025-09-02Revert introduction of `[workspace.dependencies]`.Nicholas Nethercote-1/+1
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-27Add `tracing` to `[workspace.dependencies]`.Nicholas Nethercote-1/+1
2025-08-20Eliminate unnecessary dependency from `rustc_traits` to `rustc_hir`Josh Triplett-1/+0
`rustc_traits` only uses `DefId`, which is a re-export from `rustc_span`.
2025-03-10Revert "Use workspace lints for crates in `compiler/` #138084"许杰友 Jieyou Xu (Joe)-3/+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-08Specify rust lints for `compiler/` crates via Cargo.Nicholas Nethercote-0/+3
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-22Upgrade the compiler to edition 2024Michael Goulet-1/+1
2023-10-30Clean up `rustc_*/Cargo.toml`.Nicholas Nethercote-3/+5
- Sort dependencies and features sections. - Add `tidy` markers to the sorted sections so they stay sorted. - Remove empty `[lib`] sections. - Remove "See more keys..." comments. Excluded files: - rustc_codegen_{cranelift,gcc}, because they're external. - rustc_lexer, because it has external use. - stable_mir, because it has external use.
2023-09-01remove some unused crate depsklensy-3/+0
2023-07-03Remove chalk from the compilerMichael Goulet-3/+0
2023-07-01Update chalkNilstrieb-3/+3
2023-04-22drop unused deps, gate libc under unix for one crateklensy-1/+0
2023-02-06remove unused importsklensy-1/+0
2022-11-24move some layout logic to rustc_target::abi::layouthkalbasi-0/+1
2022-11-13Bump chalk to v0.87Michael Goulet-3/+3
2022-06-27Update `smallvec` to 1.8.1.Nicholas Nethercote-1/+1
This pulls in https://github.com/servo/rust-smallvec/pull/282, which gives some small wins for rustc.
2022-03-23upgrade chalkMichael Goulet-3/+3
2022-01-19⬆ chalk to 0.76.0pierwill-3/+3
2021-12-22Update chalk to 0.75.0pierwill-3/+3
- Compute flags in `intern_ty` - Remove tracing-serde from PERMITTED_DEPENDENCIES - Disable `tracing-full` feature in `chalk-solve` - Bump tracing-tree to 0.2.0
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-02-14bumped smallvec depsklensy-1/+1
2021-02-02Update ChalkJack Huey-6/+3
2021-02-01Upgrade ChalkJack Huey-3/+7
2020-10-30Address review comment and update chalk to 0.36.0Matthew Jasper-3/+3
2020-10-30Update chalk 0.32.0 -> 0.35.0Matthew Jasper-3/+3
2020-10-08Update chalk to 0.32.0Bram van den Heuvel-3/+3
2020-10-06Update to chalk 0.31. Implement some unimplemented. Ignore some tests in ↵Jack Huey-3/+3
compare mode chalk don't finish.
2020-09-27Update chalk to 0.29.0Bram van den Heuvel-3/+3
2020-09-24Upgrade chalk to 0.28.0Bram van den Heuvel-3/+3
2020-09-24Update chalk to 0.27.0Bram van den Heuvel-3/+3
2020-09-24Update chalk to 0.26.0Bram van den Heuvel-3/+3
2020-09-24Update chalk to 0.25.0Bram van den Heuvel-3/+3
2020-09-24Update chalk to 0.24.0Bram van den Heuvel-3/+3
2020-09-24Update chalk to 0.23.0Bram van den Heuvel-3/+3
2020-09-24Update chalk to 0.22.0Bram van den Heuvel-3/+3
2020-09-04Upgrade chalk to 0.21Jack Huey-2/+3
2020-08-30mv compiler to compiler/mark-0/+19