about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src
AgeCommit message (Expand)AuthorLines
2023-04-20Use `impl Tag for $T` syntax for `impl_tag!`Maybe Waffle-11/+11
2023-04-20Add `impl_tag!` macro to implement `Tag` for tagged pointer easilyMaybe Waffle-6/+238
2023-04-19`deny(unsafe_op_in_unsafe_fn)` in `rustc_data_structures`Maybe Waffle-101/+109
2023-04-18Auto merge of #110083 - saethlin:encode-hashes-as-bytes, r=cjgillotbors-36/+178
2023-04-18Add #[inline] to some new functionsBen Kimock-0/+3
2023-04-18Document how the HashN types are different from FingerprintBen Kimock-4/+15
2023-04-18Store hashes in special types so they aren't accidentally encoded as numbersBen Kimock-37/+165
2023-04-18Rollup merge of #110417 - jsoref:spelling-compiler, r=NilstriebGuillaume Gomez-1/+1
2023-04-18Auto merge of #110481 - matthiaskrgr:rollup-phkkgm9, r=matthiaskrgrbors-8/+52
2023-04-18Rollup merge of #110409 - Nilstrieb:some-manual-javascript-object-notationing...Matthias Krüger-8/+52
2023-04-18Auto merge of #110410 - saethlin:hash-u128-as-u64s, r=oli-obkbors-1/+2
2023-04-17Auto merge of #110243 - WaffleLapkin:bless_tagged_pointers🙏, r=Nilstriebbors-215/+640
2023-04-17Spelling - compilerJosh Soref-1/+1
2023-04-17Auto merge of #110367 - saethlin:no-truncations, r=oli-obkbors-28/+6
2023-04-16Remove some unnecessary hash truncationsBen Kimock-28/+6
2023-04-16Implement StableHasher::write_u128 via write_u64Ben Kimock-1/+2
2023-04-16Don't use `serde_json` to serialize a simple JSON objectNilstrieb-8/+52
2023-04-16fix clippy::toplevel_ref_arg and ::manual_mapMatthias Krüger-5/+2
2023-04-16Move the WorkerLocal type from the rustc-rayon fork into rustc_data_structuresJohn Kåre Alsaker-34/+188
2023-04-14fix broken intradoclinksMaybe Waffle-1/+3
2023-04-14Use `ptr::Alignment` for extra coolness pointsMaybe Waffle-25/+20
2023-04-14Test `CopyTaggedPtr`'s `HashStable` implMaybe Waffle-0/+26
2023-04-14Share `Tag2` impl between `CopyTaggedPtr` and `TaggedPtr` testsMaybe Waffle-62/+31
2023-04-14Doc fixes from reviewMaybe Waffle-7/+26
2023-04-13Implement `Send`/`Sync` for `CopyTaggedPtr`Maybe Waffle-0/+20
2023-04-12doc fixesMaybe Waffle-3/+4
2023-04-12Document tagged pointers betterMaybe Waffle-31/+130
2023-04-12Add tests for tagged pointersMaybe Waffle-0/+222
2023-04-12Add `TaggedPtr::set_tag`Maybe Waffle-0/+4
2023-04-12Move code aroundMaybe Waffle-56/+57
2023-04-12Shorten `COMPARE_PACKED` => `CP` where it is not importantMaybe Waffle-14/+14
2023-04-12Remove `pointer_{ref,mut}` from tagged pointersMaybe Waffle-20/+11
2023-04-12Make tagged pointers debug impls print the pointerMaybe Waffle-12/+8
2023-04-12Remove `Pointer::with_ref` in favour implementing it on tagged pointers directlyMaybe Waffle-40/+25
2023-04-12Lift `Pointer`'s requirement for the pointer to be thinMaybe Waffle-16/+44
2023-04-12Remove useless parameter from ghostMaybe Waffle-2/+2
2023-04-11Fix doc testMaybe Waffle-2/+6
2023-04-11Refactor tagged ptr packing into a functionMaybe Waffle-23/+22
2023-04-11Bless tagged pointers (comply to strict provenance)Maybe Waffle-58/+78
2023-04-11Sprinkle some whitespace & usesMaybe Waffle-6/+25
2023-04-11Add `bits_for` helper for tagged pointers & fixup docsMaybe Waffle-15/+40
2023-04-11Use `SSO_ARRAY_SIZE` instead of `8` in `SsoHashMap` implMaybe Waffle-17/+17
2023-04-11Use `itertools::Either` instead of own `EitherIter` implMaybe Waffle-92/+18
2023-04-09Inline format_argsNilstrieb-1/+1
2023-04-09Fix some clippy::complexityNilstrieb-15/+9
2023-04-09Allow `modulo_one` on function using cfg constsNilstrieb-0/+1
2023-04-09Some simple `clippy::perf` fixesNilstrieb-1/+1
2023-04-08Auto merge of #109971 - WaffleLapkin:yeet_ownership, r=Nilstriebbors-1980/+204
2023-04-07Mark `OwnedSlice::{deref, borrow}` as `#[inline]`Maybe Waffle-0/+2
2023-04-06Support multithreaded mode in `OwnedSlice` testsMaybe Waffle-8/+14