summary refs log tree commit diff
path: root/library/core/src/ptr
AgeCommit message (Expand)AuthorLines
2025-01-02Document CTFE behavior of methods that call is_nullTim (Theemathas) Chirananthavat-0/+69
2025-01-02Correctly document is_null CTFE behavior.Tim (Theemathas) Chirananthavat-16/+22
2024-11-25replace placeholder versionBoxy-26/+26
2024-11-16clean up const stability around UB checksRalf Jung-8/+8
2024-11-16stabilize const_ptr_is_nullRalf Jung-6/+8
2024-11-14use `&raw` in `{read, write}_unaligned` documentationcyrgani-8/+6
2024-11-11Generalize `NonNull::from_raw_parts` per ACP362Scott McMurray-1/+1
2024-11-05add const_eval_select macro to reduce redundancyRalf Jung-111/+98
2024-11-03remove const-support for align_offsetRalf Jung-545/+13
2024-11-02get rid of a whole bunch of unnecessary rustc_const_unstable attributesRalf Jung-20/+0
2024-11-02Rollup merge of #132459 - RalfJung:byte_sub_ptr, r=scottmcmGuillaume Gomez-9/+66
2024-11-02Rollup merge of #132451 - RalfJung:less-rustc_allow_const_fn_unstable, r=tgro...Guillaume Gomez-1/+0
2024-11-01offset_from / sub_ptr docs: emphasize that pointers must be in the same alloc...Ralf Jung-12/+12
2024-11-01feat(byte_sub_ptr): add ptr::byte_sub_ptrAria Beingessner-0/+57
2024-11-01unchecked_shifts, unchecked_neg are safe-to-const-expose-on-stable, so we can...Ralf Jung-3/+3
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-17/+28
2024-10-25Rollup merge of #132137 - RalfJung:behavior, r=NoratriebMatthias Krüger-2/+2
2024-10-25Re-do recursive const stability checksRalf Jung-17/+28
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-23Rollup merge of #132066 - tifv:ptr-docs-typo, r=AmanieuLeón Orell Valerian Liehr-2/+2
2024-10-23fix a typo in documentation of pointer::sub_ptr()July Tikhonov-2/+2
2024-10-23fix documentation of ptr::dangling() functionJuly Tikhonov-5/+3
2024-10-21move strict provenance lints to new feature gate, remove old feature gatesRalf Jung-5/+2
2024-10-21stabilize Strict Provenance and Exposed ProvenanceRalf Jung-386/+307
2024-10-19zero-sized accesses are fine on null pointersRalf Jung-7/+7
2024-10-16Auto merge of #131792 - matthiaskrgr:rollup-480nwg4, r=matthiaskrgrbors-6/+22
2024-10-16Rollup merge of #130822 - bjoernager:non-null-from-ref, r=dtolnayMatthias Krüger-6/+22
2024-10-15update bootstrap configsJosh Stone-7/+1
2024-10-15replace placeholder versionJosh Stone-30/+27
2024-10-15Rollup merge of #131339 - HeroicKatora:set_ptr_value-documentation, r=Mark-Si...Matthias Krüger-20/+61
2024-10-14Rollup merge of #131384 - saethlin:precondition-tests, r=ibraheemdevMatthias Krüger-10/+17
2024-10-13Fix typo thing->thin referring to pointerAndreas Molzer-2/+2
2024-10-12Stabilize `const_option`Trevor Gross-2/+0
2024-10-12library: Stabilize `const_replace`Jubilee Young-1/+2
2024-10-12library: Stabilize `const_ptr_write`Jubilee Young-8/+9
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-07cfg out checks in add and sub but not offsetBen Kimock-0/+8
2024-10-07Add precondition checks to ptr::offset, ptr::add, ptr::subBen Kimock-3/+173
2024-10-06Expand set_ptr_value / with_metadata_of docsAndreas Molzer-20/+61
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-04Rollup merge of #130403 - eduardosm:stabilize-const_slice_from_raw_parts_mut,...Jubilee-2/+5
2024-10-04Rollup merge of #131177 - workingjubilee:stabilize-const-mut-referees, r=tgro...Jubilee-1/+2
2024-10-02library: Stabilize `const_ptr_as_ref`Jubilee Young-1/+2