about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/Cargo.toml
AgeCommit message (Collapse)AuthorLines
2023-12-07coverage: Avoid unnecessary macros in unit testsZalathar-5/+0
These macros don't provide enough value to justify their complexity, when they can just as easily be functions instead.
2023-11-22Replace `custom_encodable` with `encodable`.Nicholas Nethercote-1/+0
By default, `newtype_index!` types get a default `Encodable`/`Decodable` impl. You can opt out of this with `custom_encodable`. Opting out is the opposite to how Rust normally works with autogenerated (derived) impls. This commit inverts the behaviour, replacing `custom_encodable` with `encodable` which opts into the default `Encodable`/`Decodable` impl. Only 23 of the 59 `newtype_index!` occurrences need `encodable`. Even better, there were eight crates with a dependency on `rustc_serialize` just from unused default `Encodable`/`Decodable` impls. This commit removes that dependency from those eight crates.
2023-11-22Update itertools to 0.11.Nicholas Nethercote-1/+1
Because the API for `with_position` improved in 0.11 and I want to use it.
2023-10-30Clean up `rustc_*/Cargo.toml`.Nicholas Nethercote-10/+12
- 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-10-21Implement JumpThreading pass.Camille GILLOT-0/+1
2023-07-22Make `unconditional_recursion` warning detect recursive dropsMartin Nordholts-0/+1
2023-05-02Migrate `mir_transform` to translatable diagnosticsclubby789-0/+2
2022-11-18interpret: use Either over Result when it is not representing an error conditionRalf Jung-0/+1
2022-09-29Remove from compiler/ cratesreez12g-1/+0
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-06-13remove currently unused depsklensy-1/+0
2022-03-04Update `itertools`pierwill-1/+1
Update to 0.10.1
2022-01-14Update itertools to deduplicate itRémy Rakic-1/+1
2021-10-03Remove re-export.Camille GILLOT-0/+1
2021-09-20Migrate to 2021Mark Rousskov-1/+1
2021-09-08Rebase fallout.Camille GILLOT-1/+0
2021-09-07Rename rustc_mir to rustc_const_eval.Camille GILLOT-1/+1
2021-09-07Move the dataflow framework to its own crate.Camille GILLOT-0/+1
2021-09-07Move rustc_mir::transform to rustc_mir_transform.Camille GILLOT-0/+29