| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 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/+19 | |
| 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-05 | Use elsa =1.7.1 as 1.8.0 was an accidental copy of 1.7.0 | Oli Scherer | -1/+1 | |
| 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 | |
| 2023-04-04 | Add a usize-indexed append-only-vec | Oli Scherer | -3/+35 | |
| 2023-04-04 | Remove a fishy Clone impl | Oli Scherer | -8/+0 | |
| 2023-04-02 | Use `&IndexSlice` instead of `&IndexVec` where possible | Scott McMurray | -12/+12 | |
| All the same reasons as for `[T]`: more general, less pointer chasing, and `&mut IndexSlice` emphasizes that it doesn't change *length*. | ||||
| 2023-03-30 | Rollup merge of #109758 - nnethercote:parallel-cleanups, r=cjgillot | Michael Goulet | -28/+40 | |
| Parallel compiler cleanups A few small improvements I found while looking closely at this code. r? `@cjgillot` cc `@Zoxc,` `@SparrowLii` | ||||
| 2023-03-30 | `CacheAligned` and `Sharded` don't need to derive `Clone`. | Nicholas Nethercote | -2/+1 | |
| 2023-03-30 | Remove `RwLock::clone_guard`. | Nicholas Nethercote | -12/+0 | |
| It's unused. | ||||
| 2023-03-30 | Improve the `rustc_data_structures::sync` module doc comment. | Nicholas Nethercote | -14/+39 | |
| Also, `MTRef<'a, T>` is a typedef for a reference to a `T`, but in practice it's only used (and useful) in combination with `MTLock`, i.e. `MTRef<'a, MTLock<T>>`. So this commit changes it to be a typedef for a reference to an `MTLock<T>`, and renames it as `MTLockRef`. I think this clarifies things, because I found `MTRef` quite puzzling at first. | ||||
| 2023-03-29 | Stabilize a portion of 'once_cell' | Trevor Gross | -1/+1 | |
| Move items not part of this stabilization to 'lazy_cell' or 'once_cell_try' | ||||
| 2023-03-25 | Update indexmap and rayon crates | John Kåre Alsaker | -4/+4 | |
