about summary refs log tree commit diff
path: root/compiler/rustc_middle/Cargo.toml
AgeCommit message (Collapse)AuthorLines
2023-10-30Clean up `rustc_*/Cargo.toml`.Nicholas Nethercote-7/+8
- 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-07-26Replace in-tree `rustc_apfloat` with the new version of the crateWesley Wiser-1/+1
2023-07-03Remove chalk from the compilerMichael Goulet-1/+0
2023-07-01Update chalkNilstrieb-1/+1
2023-04-30Use dynamic dispatch for queriesJohn Kåre Alsaker-0/+1
2023-04-26Remove QueryEngine traitJohn Kåre Alsaker-0/+1
2023-04-18Add `rustc_fluent_macro` to decouple fluent from `rustc_macros`Nilstrieb-0/+1
Fluent, with all the icu4x it brings in, takes quite some time to compile. `fluent_messages!` is only needed in further downstream rustc crates, but is blocking more upstream crates like `rustc_index`. By splitting it out, we allow `rustc_macros` to be compiled earlier, which speeds up `x check compiler` by about 5 seconds (and even more after the needless dependency on `serde_json` is removed from `rustc_data_structures`).
2023-03-25Update indexmap and rayon cratesJohn Kåre Alsaker-2/+2
2023-02-21Upgrade `thin-vec` from 0.2.9 to 0.2.12.Nicholas Nethercote-1/+1
Because 0.2.10 added supports for `ThinVec::splice`, and 0.2.12 is the latest release.
2022-12-22Give a more helpful error for "trimmed_def_paths construted"Joshua Nelson-0/+2
2022-11-28Make `tcx.mk_const` more permissive wrt `kind` argumentMaybe Waffle-0/+1
- Accept `impl Into` - Implement `From<>` for `ConstKind` Note: this adds a dependency on `derive_more` (MIT license). It allows to derive a lot of traits (like `From` here) that would be otherwise tedious to implement.
2022-11-20Fix doctest errors related to rustc_middlereez12g-1/+0
2022-11-13Bump chalk to v0.87Michael Goulet-1/+1
2022-11-02rustdoc: use ThinVec for cleaned genericsMichael Howell-1/+1
2022-10-03Move utils from rustc_middle to rustc_ty_utilsCameron Steffen-2/+0
2022-08-29Replace `rustc_data_structures::thin_vec::ThinVec` with `thin_vec::ThinVec`.Nicholas Nethercote-15/+16
`rustc_data_structures::thin_vec::ThinVec` looks like this: ``` pub struct ThinVec<T>(Option<Box<Vec<T>>>); ``` It's just a zero word if the vector is empty, but requires two allocations if it is non-empty. So it's only usable in cases where the vector is empty most of the time. This commit removes it in favour of `thin_vec::ThinVec`, which is also word-sized, but stores the length and capacity in the same allocation as the elements. It's good in a wider variety of situation, e.g. in enum variants where the vector is usually/always non-empty. The commit also: - Sorts some `Cargo.toml` dependency lists, to make additions easier. - Sorts some `use` item lists, to make additions easier. - Changes `clean_trait_ref_with_bindings` to take a `ThinVec<TypeBinding>` rather than a `&[TypeBinding]`, because this avoid some unnecessary allocations.
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-05-27Update to rebased rustc-rayon 0.4Josh Stone-2/+2
2022-03-28Propagate `parallel_compiler` feature through rustc crates. Turned off ↵klensy-2/+5
feature gives change of builded crates: 238 -> 224.
2022-03-23upgrade chalkMichael Goulet-1/+1
2022-01-19⬆ chalk to 0.76.0pierwill-1/+1
2022-01-10Update rayon and rustc-rayonJosh Stone-2/+2
2022-01-03revert #92254 "Bump gsgdt to 0.1.3"Krasimir Georgiev-1/+1
gsgdt 0.1.3 was yanked: https://github.com/rust-lang/rust/pull/92254#issuecomment-1004269481
2021-12-24Bump `gsgdt` to 0.1.3Krasimir Georgiev-1/+1
No functional changes intended. The 0.1.2 -> 0.1.3 commit https://github.com/vn-ki/gsgdt-rs/commit/3e1dcec5398d281e1b33afb41e43dfb248321a1d renames `Node::new` to `Node::from_list`.
2021-12-22Update chalk to 0.75.0pierwill-1/+1
- 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-10-09Store lowering outputs per owner.Camille GILLOT-0/+1
2021-09-30Implemented -Z randomize-layoutChase Wilson-0/+2
2021-09-20Migrate to 2021Mark Rousskov-1/+1
2021-09-07Move the dataflow framework to its own crate.Camille GILLOT-0/+3
2021-08-03update polonius-engine to 0.13Rémy Rakic-1/+1
and update fact generation to the new relation names
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-06-25rustc_middle: Remove unused dependency measuremeJosh Triplett-1/+0
Unused since commit 4581d16bcbea9273b6755dd24a884a234a0dc2f7 ("Move the query system to rustc_query_impl.").
2021-03-10Update to rustc-rayon 0.3.1Josh Stone-1/+1
This pulls in rust-lang/rustc-rayon#8 to fix #81425. (h/t @ammaraskar) That revealed weak constraints on `rustc_arena::DropArena`, because its `DropType` was holding type-erased raw pointers to generic `T`. We can implement `Send` for `DropType` (under `cfg(parallel_compiler)`) by requiring all `T: Send` before they're type-erased.
2021-02-25Update measureme dependency to the latest versionWesley Wiser-1/+1
This version adds the ability to use `rdpmc` hardware-based performance counters instead of wall-clock time for measuring duration. This also introduces a dependency on the `perf-event-open-sys` crate on Linux which is used when using hardware counters.
2021-02-14bumped smallvec depsklensy-1/+1
2021-02-02Update ChalkJack Huey-2/+1
2021-02-01Upgrade ChalkJack Huey-1/+2
2020-12-02Create `rustc_ty_library`LeSeulArtichaut-0/+1
2020-10-30Address review comment and update chalk to 0.36.0Matthew Jasper-1/+1
2020-10-30Update chalk 0.32.0 -> 0.35.0Matthew Jasper-1/+1
2020-10-24Upgrade to measureme 9.0.0Wesley Wiser-1/+1
2020-10-08Update chalk to 0.32.0Bram van den Heuvel-1/+1
2020-10-06Update to chalk 0.31. Implement some unimplemented. Ignore some tests in ↵Jack Huey-1/+1
compare mode chalk don't finish.
2020-09-27Update chalk to 0.29.0Bram van den Heuvel-1/+1
2020-09-24Upgrade chalk to 0.28.0Bram van den Heuvel-1/+1
2020-09-24Update chalk to 0.27.0Bram van den Heuvel-1/+1
2020-09-24Update chalk to 0.26.0Bram van den Heuvel-1/+1
2020-09-24Update chalk to 0.25.0Bram van den Heuvel-1/+1
2020-09-24Update chalk to 0.24.0Bram van den Heuvel-1/+1
2020-09-24Update chalk to 0.23.0Bram van den Heuvel-1/+1