about summary refs log tree commit diff
path: root/library/core/src/ptr/mod.rs
AgeCommit message (Expand)AuthorLines
2025-07-27constify with_exposed_provenanceRalf Jung-2/+4
2025-07-18fix: don't panic on volatile access to nullLuigi Sartor Piucco-75/+93
2025-06-16library/compiler: add `PointeeSized` boundsDavid Wood-9/+9
2025-05-31terminology: allocated object → allocationRalf Jung-30/+32
2025-05-21Add some track_caller info to precondition panicsBen Kimock-6/+8
2025-05-20make std::intrinsic functions actually be intrinsicsRalf Jung-10/+283
2025-05-12update version placeholdersPietro Albini-1/+1
2025-04-29stabilize ptr::swap_nonoverlapping in constRalf Jung-1/+36
2025-04-14ptr docs: add missing backtics around 'usize'Ralf Jung-1/+1
2025-04-09Ensure `swap_nonoverlapping` is really always untypedScott McMurray-48/+88
2025-03-06library: Use size_of from the prelude instead of importedThalia Archibald-17/+13
2025-02-12Change swap_nonoverlapping from lang to library UBBen Kimock-1/+1
2025-01-15Less unsafe in `dangling`/`without_provenance`Scott McMurray-8/+3
2025-01-10Rollup merge of #134908 - madsmtm:ptr-from_ref-docs, r=ibraheemdevMatthias Krüger-2/+2
2025-01-08update 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-30Fix ptr::from_ref documentation example commentMads Marquart-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