about summary refs log tree commit diff
path: root/library/core/src/ptr/metadata.rs
AgeCommit message (Expand)AuthorLines
2025-06-16library/compiler: add `PointeeSized` boundsDavid Wood-19/+19
2025-03-16Rollup merge of #135080 - Enselic:debug-ptr-metadata, r=thomcc许杰友 Jieyou Xu (Joe)-0/+2
2025-03-06library: Use size_of from the prelude instead of importedThalia Archibald-1/+1
2025-02-15core: Document why Pointee::Metadata can't have 'static boundMartin Nordholts-0/+2
2025-02-09Mark extern blocks as unsafeMichael Goulet-1/+1
2025-01-08update cfg(bootstrap)Pietro Albini-3/+2
2024-12-20split up `#[rustc_deny_explicit_impl]` attributeLukas Markeffsky-1/+3
2024-11-27update cfgsBoxy-3/+0
2024-10-25Re-do recursive const stability checksRalf Jung-3/+3
2024-10-15replace placeholder versionJosh Stone-3/+3
2024-09-28make ptr metadata functions callable from stable const fnRalf Jung-3/+3
2024-09-08Remove needless returns detected by clippy in librariesEduardo Sánchez Muñoz-2/+2
2024-07-29Reformat `use` declarations.Nicholas Nethercote-2/+1
2024-07-26Fix doc nitsJohn Arundel-1/+1
2024-07-17ptr::metadata: update comment on vtable_ptr work-aroundRalf Jung-4/+7
2024-07-17ptr::metadata: avoid references to extern typesRalf Jung-2/+3
2024-06-11remove cfg(bootstrap)Pietro Albini-39/+1
2024-05-29[ACP 362] genericize `ptr::from_raw_parts`Scott McMurray-2/+2
2024-05-29Rollup merge of #124251 - scottmcm:unop-ptr-metadata, r=oli-obk许杰友 Jieyou Xu (Joe)-4/+17
2024-05-28Add an intrinsic for `ptr::metadata`Scott McMurray-4/+17
2024-05-28Don't format `tests/run-make/*/rmake.rs`.Nicholas Nethercote-6/+2
2024-05-23Validate the special layout restriction on DynMetadataScott McMurray-8/+19
2024-05-01Step bootstrap cfgsMark Rousskov-23/+2
2024-04-21Use it in the library, and `InstSimplify` it away in the easy placesScott McMurray-8/+24
2024-03-31Require Pointee::Metadata to be FreezeStepan Koltsov-1/+2
2024-03-31Auto merge of #123181 - stepancheg:pointee-metadata-debug, r=the8472,Amanieubors-1/+1
2024-03-29Add detection of [Partial]Ord methods to the ambiguous wide ptr cmp lintUrgau-0/+1
2024-03-29Require Debug for Pointee::MetadataStepan Koltsov-1/+1
2024-02-22Fix typo in metadata.rs doc commentJohannes Rudolph-1/+1
2024-02-10add note on comparing vtables / function pointersRalf Jung-0/+5
2024-01-29raw pointer metadata API: data address -> data pointerRalf Jung-8/+8
2023-07-12Flip cfg's for bootstrap bumpMark Rousskov-2/+1
2023-06-20Merge attrs, better validationMichael Goulet-2/+2
2023-06-20Add rustc_do_not_implement_via_objectMichael Goulet-0/+1
2022-12-28Update bootstrap cfgPietro Albini-1/+1
2022-11-14Add rustc_deny_explicit_implMichael Goulet-0/+1
2022-08-21Use ptr::metadata in <[T]>::len implementationKonrad Borowski-7/+7
2022-08-12Adjust cfgsMark Rousskov-18/+0
2022-07-20various nits from reviewRalf Jung-2/+1
2022-07-20use extern type for extra opaquenessRalf Jung-7/+8
2022-07-20incorporate some review feedbackRalf Jung-0/+3
2022-07-20add intrinsic to access vtable size and alignRalf Jung-2/+24
2021-06-25Fix a few misspellings.Eric Huss-1/+1
2021-02-15Pointer metadata: add tracking issue numberSimon Sapin-7/+7
2021-02-15Fix intra-doc link to raw pointer methodSimon Sapin-1/+1
2021-02-15More doc-comments for pointer metadata APIsSimon Sapin-4/+86
2021-02-15Add `to_raw_parts` methods to `*const`, `*mut`, and `NonNull`Simon Sapin-1/+2
2021-02-15Add `ptr::from_raw_parts`, `ptr::from_raw_parts_mut`, and `NonNull::from_raw_...Simon Sapin-6/+38
2021-02-15Add `size_of`, `align_of`, and `layout` methods to `DynMetadata`Simon Sapin-8/+38
2021-02-15Parameterize `DynMetadata` over its `dyn SomeTrait` typeSimon Sapin-6/+49