| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-04-18 | Rollup merge of #110409 - ↵ | Matthias Krüger | -8/+52 | |
| Nilstrieb:some-manual-javascript-object-notationing, r=fee1-dead Don't use `serde_json` to serialize a simple JSON object This avoids `rustc_data_structures` depending on `serde_json` which allows it to be compiled much earlier, unlocking most of rustc. This used to not matter, but after #110407 we're not blocked on fluent anymore, which means that it's now a blocking edge.  This saves a few more seconds. cc ````@Zoxc```` who added it recently | ||||
| 2023-04-17 | Auto merge of #110243 - WaffleLapkin:bless_tagged_pointers🙏, r=Nilstrieb | bors | -215/+640 | |
| Tagged pointers, now with strict provenance! This is a big refactor of tagged pointers in rustc, with three main goals: 1. Porting the code to the strict provenance 2. Cleanup the code 3. Document the code (and safety invariants) better This PR has grown quite a bit (almost a complete rewrite at this point...), so I'm not sure what's the best way to review this, but reviewing commit-by-commit should be fine. r? `@Nilstrieb` | ||||
| 2023-04-17 | Auto merge of #110367 - saethlin:no-truncations, r=oli-obk | bors | -28/+6 | |
| Remove some suspicious cast truncations These truncations were added a long time ago, and as best I can tell without a perf justification. And with rust-lang/rust#110410 it has become perf-neutral to not truncate anymore. We worked hard for all these bits, let's use them. | ||||
| 2023-04-16 | Remove some unnecessary hash truncations | Ben Kimock | -28/+6 | |
| 2023-04-16 | Don't use `serde_json` to serialize a simple JSON object | Nilstrieb | -8/+52 | |
| This avoids `rustc_data_structures` depending on `serde_json` which allows it to be compiled much earlier, unlocking most of rustc. | ||||
| 2023-04-16 | fix clippy::toplevel_ref_arg and ::manual_map | Matthias Krüger | -5/+2 | |
| 2023-04-14 | fix broken intradoclinks | Maybe Waffle | -1/+3 | |
| 2023-04-14 | Use `ptr::Alignment` for extra coolness points | Maybe Waffle | -25/+20 | |
| 2023-04-14 | Test `CopyTaggedPtr`'s `HashStable` impl | Maybe Waffle | -0/+26 | |
| 2023-04-14 | Share `Tag2` impl between `CopyTaggedPtr` and `TaggedPtr` tests | Maybe Waffle | -62/+31 | |
| 2023-04-14 | Doc fixes from review | Maybe Waffle | -7/+26 | |
| 2023-04-13 | Implement `Send`/`Sync` for `CopyTaggedPtr` | Maybe Waffle | -0/+20 | |
| 2023-04-12 | doc fixes | Maybe Waffle | -3/+4 | |
| 2023-04-12 | Document tagged pointers better | Maybe Waffle | -31/+130 | |
| 2023-04-12 | Add tests for tagged pointers | Maybe Waffle | -0/+222 | |
| 2023-04-12 | Add `TaggedPtr::set_tag` | Maybe Waffle | -0/+4 | |
| 2023-04-12 | Move code around | Maybe Waffle | -56/+57 | |
| 2023-04-12 | Shorten `COMPARE_PACKED` => `CP` where it is not important | Maybe Waffle | -14/+14 | |
| why can't I _ it :'( | ||||
| 2023-04-12 | Remove `pointer_{ref,mut}` from tagged pointers | Maybe Waffle | -20/+11 | |
| Just use `deref{,_mut}`! | ||||
| 2023-04-12 | Make tagged pointers debug impls print the pointer | Maybe Waffle | -12/+8 | |
| Does not really matter, but may be nicer in case the pointer has some specific debug impl. | ||||
| 2023-04-12 | Remove `Pointer::with_ref` in favour implementing it on tagged pointers directly | Maybe Waffle | -40/+25 | |
| 2023-04-12 | Lift `Pointer`'s requirement for the pointer to be thin | Maybe Waffle | -16/+44 | |
| fat pointers rule! | ||||
| 2023-04-12 | Remove useless parameter from ghost | Maybe Waffle | -2/+2 | |
| 2023-04-11 | Fix doc test | Maybe Waffle | -2/+6 | |
| 2023-04-11 | Refactor tagged ptr packing into a function | Maybe Waffle | -23/+22 | |
| 2023-04-11 | Bless tagged pointers (comply to strict provenance) | Maybe Waffle | -58/+78 | |
| 2023-04-11 | Sprinkle some whitespace & uses | Maybe Waffle | -6/+25 | |
| 2023-04-11 | Add `bits_for` helper for tagged pointers & fixup docs | Maybe Waffle | -15/+40 | |
| 2023-04-11 | Use `SSO_ARRAY_SIZE` instead of `8` in `SsoHashMap` impl | Maybe Waffle | -17/+17 | |
| 2023-04-11 | Use `itertools::Either` instead of own `EitherIter` impl | Maybe Waffle | -92/+18 | |
| 2023-04-09 | Inline format_args | Nilstrieb | -1/+1 | |
| Co-authored-by: Michael Goulet <michael@errs.io> | ||||
| 2023-04-09 | Fix some clippy::complexity | Nilstrieb | -15/+9 | |
| 2023-04-09 | Allow `modulo_one` on function using cfg consts | Nilstrieb | -0/+1 | |
| 2023-04-09 | Some simple `clippy::perf` fixes | Nilstrieb | -1/+1 | |
| 2023-04-08 | Auto merge of #109971 - WaffleLapkin:yeet_ownership, r=Nilstrieb | bors | -1980/+204 | |
| Yeet `owning_ref` Based on the discussions from https://github.com/rust-lang/rust/pull/109948 This replaces `owning_ref` with a far simpler & safer abstraction. Fixes #109974 | ||||
| 2023-04-07 | Mark `OwnedSlice::{deref, borrow}` as `#[inline]` | Maybe Waffle | -0/+2 | |
| 2023-04-06 | Support multithreaded mode in `OwnedSlice` tests | Maybe Waffle | -8/+14 | |
| 2023-04-06 | Add basic tests for `OwnedSlice` | Maybe Waffle | -0/+71 | |
| 2023-04-06 | Use `FnOnce` for `slice_owned` instead of `Fn` | Maybe Waffle | -2/+2 | |
| 2023-04-05 | Add context to phantom comment | Nilstrieb | -2/+2 | |
| 2023-04-05 | Fix a couple missed hash constants | Thom Chiovoloni | -3/+3 | |
| 2023-04-05 | Use SipHash-1-3 instead of SipHash-2-4 for StableHasher | Thom Chiovoloni | -270/+75 | |
| 2023-04-05 | Fix typo | Maybe Waffle | -1/+1 | |
| 2023-04-05 | Yeet `owning_ref` | Maybe Waffle | -1971/+1 | |
| Turns out - `owning_ref` is unsound due to `Box` aliasing stuff - `rustc` doesn't need 99% of the `owning_ref` API - `rustc` can use a far simpler abstraction that is `OwnedSlice` | ||||
| 2023-04-05 | Use `OwnedSlice` instead of `owning_ref` | Maybe Waffle | -3/+3 | |
| 2023-04-05 | Implement `OwnedSlice` | Maybe Waffle | -5/+120 | |
| 2023-04-04 | Use a simpler atomic operation than the `compare_exchange` hammer | Oli Scherer | -0/+8 | |
| 2023-04-04 | Another AppendOnlyVec | Oli Scherer | -10/+21 | |
| 2023-04-04 | Replace another lock with an append-only vec | Oli Scherer | -0/+16 | |
| 2023-04-04 | Remove a lock in favor of an AppendOnlyVec | Oli Scherer | -2/+7 | |
