summary refs log tree commit diff
path: root/library/core/src/ptr/mod.rs
AgeCommit message (Expand)AuthorLines
2025-01-07update version placeholdersPietro Albini-2/+2
2024-12-31Rollup merge of #134953 - DiuDiu777:unaligned-doc, r=RalfJungMatthias Krüger-4/+0
2024-12-31Rollup merge of #134930 - RalfJung:ptr-docs-valid-access, r=jhprattStuart Cook-2/+2
2024-12-31fix doc for read write unaligned in zst operationLemonJ-4/+0
2024-12-30ptr docs: make it clear that we are talking only about memory accessesRalf Jung-2/+2
2024-12-25stabilize const_swapRalf Jung-2/+1
2024-12-23core: fix const ptr::swap_nonoverlapping when there are pointers at odd offse...Ralf Jung-31/+42
2024-12-19fix typo in ptr/mod.rsleejaehong-1/+1
2024-12-12Fix typos in docs on provenanceAlisa Sireneva-4/+5
2024-12-01Rollup merge of #133678 - Urgau:stabilize-ptr_fn_addr_eq, r=jhprattJacob Pratt-3/+1
2024-11-30Stabilize `ptr::fn_addr_eq`Urgau-3/+1
2024-11-30move swap_nonoverlapping constness to separate feature gateRalf Jung-2/+2
2024-11-27replace placeholder versionBoxy-10/+10
2024-11-16clean up const stability around UB checksRalf Jung-8/+8
2024-11-14use `&raw` in `{read, write}_unaligned` documentationcyrgani-8/+6
2024-11-03remove const-support for align_offsetRalf Jung-8/+2
2024-11-01remove some unnecessary rustc_allow_const_fn_unstableRalf Jung-1/+0
2024-10-25Auto merge of #131349 - RalfJung:const-stability-checks, r=compiler-errorsbors-4/+5
2024-10-25Rollup merge of #132137 - RalfJung:behavior, r=NoratriebMatthias Krüger-2/+2
2024-10-25Re-do recursive const stability checksRalf Jung-4/+5
2024-10-25library: consistently use American spelling for 'behavior'Ralf Jung-2/+2
2024-10-24Rollup merge of #131457 - kpreid:fnaddr, r=dtolnayJubilee-6/+34
2024-10-23fix documentation of ptr::dangling() functionJuly Tikhonov-2/+2
2024-10-21move strict provenance lints to new feature gate, remove old feature gatesRalf Jung-2/+0
2024-10-21stabilize Strict Provenance and Exposed ProvenanceRalf Jung-275/+214
2024-10-19zero-sized accesses are fine on null pointersRalf Jung-7/+7
2024-10-15update bootstrap configsJosh Stone-4/+1
2024-10-15replace placeholder versionJosh Stone-4/+4
2024-10-14Rollup merge of #131384 - saethlin:precondition-tests, r=ibraheemdevMatthias Krüger-10/+17
2024-10-12library: Stabilize `const_replace`Jubilee Young-1/+2
2024-10-12library: Stabilize `const_ptr_write`Jubilee Young-2/+3
2024-10-09Add more precondition check testsBen Kimock-2/+4
2024-10-09Allow zero-size reads/writes on null pointersBen Kimock-8/+13
2024-10-09Add "not guaranteed to be equal"Kevin Reid-1/+1
2024-10-09Apply suggestions from code reviewKevin Reid-2/+4
2024-10-09Expand `ptr::fn_addr_eq()` documentation.Kevin Reid-6/+32
2024-10-06Auto merge of #130540 - veera-sivarajan:fix-87525, r=estebankbors-0/+1
2024-10-05Add a Lint for Pointer to Integer Transmutes in ConstsVeera-0/+1
2024-10-01Stabilize `const_slice_from_raw_parts_mut`Eduardo Sánchez Muñoz-1/+1
2024-09-28make ptr metadata functions callable from stable const fnRalf Jung-3/+0
2024-09-25Use `&raw` in the standard libraryJosh Stone-3/+1
2024-09-23stabilize const_intrinsic_copyRalf Jung-5/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-09-05Rollup merge of #129653 - RalfJung:addr-of-read-only, r=scottmcmMatthias Krüger-0/+8
2024-08-28addr_of on places derived from raw pointers should preserve permissionsRalf Jung-3/+7
2024-08-27fix Pointer to reference conversion docsRalf Jung-23/+15
2024-08-27clarify that addr_of creates read-only pointersRalf Jung-0/+4
2024-08-27Rollup merge of #128157 - lolbinarycat:unify-ptr-ref-docs, r=cuviperMatthias Krüger-0/+46
2024-08-26Apply suggestions from code reviewJosh Stone-1/+1
2024-08-24Rollup merge of #129323 - Urgau:ptr_fn_addr_eq, r=Mark-SimulacrumMatthias Krüger-0/+27