summary refs log tree commit diff
path: root/library/core/src/ptr/mod.rs
AgeCommit message (Expand)AuthorLines
2022-07-20prune raw pointer read and write methods from Miri backtracesRalf Jung-0/+6
2022-07-19Use `T` for all the function primitive docs listsMichael Howell-1/+1
2022-07-19Improve the function pointer docsMichael Howell-29/+71
2022-07-16Auto merge of #98866 - nagisa:nagisa/align-offset-wroom, r=Mark-Simulacrumbors-30/+53
2022-07-17Add a special case for align_offset /w stride != 1Simonas Kazlauskas-30/+53
2022-07-09Partially stabilize const_slice_from_raw_partsKonrad Borowski-2/+3
2022-07-05Rollup merge of #97712 - RalfJung:untyped, r=scottmcmDylan DPC-14/+20
2022-07-01update cfg(bootstrap)sPietro Albini-44/+0
2022-06-08Stabilize `const_intrinsic_copy`Yuki Okushi-2/+2
2022-06-05use strict provenance APIsRalf Jung-2/+2
2022-06-05promise that ptr::copy and ptr::swap are doing untyped copiesRalf Jung-2/+8
2022-06-05change ptr::swap methods to do untyped copiesRalf Jung-12/+12
2022-06-02Rollup merge of #97420 - WaffleLapkin:no_oxford_casts_qqq, r=Mark-SimulacrumDylan DPC-12/+2
2022-05-29Remove `(fn(...) -> ...)` -> `usize` -> `*const ()` -> `usize` castMaybe Waffle-12/+2
2022-05-28note to future selfRalf Jung-0/+1
2022-05-28ptr::invalid is not equivalent to a int2ptr castRalf Jung-6/+6
2022-05-25Auto merge of #94954 - SimonSapin:null-thin3, r=yaahcbors-0/+46
2022-05-20make ptr::invalid not the same as a regular int2ptr castRalf Jung-2/+10
2022-05-13Extend ptr::null and null_mut to all thin (including extern) typesSimon Sapin-0/+46
2022-04-05Rollup merge of #95588 - RalfJung:strict-provenance, r=scottmcmDylan DPC-9/+119
2022-04-04explicitly distinguish pointer::addr and pointer::expose_addrRalf Jung-9/+119
2022-04-03Rollup merge of #95617 - saethlin:swap-test-invalidation, r=Dylan-DPCDylan DPC-2/+3
2022-04-03Fix &mut invalidation in ptr::swap doctestBen Kimock-2/+3
2022-04-03Auto merge of #92686 - saethlin:unsafe-debug-asserts, r=Amanieubors-10/+20
2022-04-02Rollup merge of #95354 - dtolnay:rustc_const_stable, r=lcnrDylan DPC-2/+2
2022-03-31Fix feature name of stable parts of strict_provenanceDavid Tolnay-2/+2
2022-03-31Fix typos in core::ptr docsbstrie-4/+4
2022-03-29clarify that WASM has address spacesAria Beingessner-1/+1
2022-03-29fix doc linkAria Beingessner-1/+1
2022-03-29refine the definition of temporal provenanceAria Beingessner-1/+1
2022-03-29more review fixes to ptr docsAria Beingessner-11/+19
2022-03-29Add even more details to top-level pointer docsAria Beingessner-4/+20
2022-03-29clean up pointer docsAria Beingessner-25/+64
2022-03-29Introduce experimental APIs for conforming to "strict provenance".Aria Beingessner-8/+260
2022-03-29Add debug assertions to some unsafe functionsBen Kimock-10/+20
2022-02-26For MIRI, cfg out the swap logic from 94212Scott McMurray-8/+15
2022-02-21Stop manually SIMDing in swap_nonoverlappingScott McMurray-90/+42
2021-10-30Add #[must_use] to mem/ptr functionsJohn Kugelman-0/+2
2021-09-01remove redundant / misplaced sentence from docsast-ral-4/+0
2021-08-22Fix typos “an”→“a” and a few different ones that appeared in the sa...Frank Steffahn-3/+3
2021-08-08Avoid using the `copy_nonoverlapping` wrapper through `mem::replace`.Eduard-Mihai Burtescu-0/+7
2021-06-27Add reference to tracking issue #86302 for const_ptr_writeAlbin Hedman-2/+2
2021-06-27Add reference to issue for const_intrinsic_copy in ptr::writeAlbin Hedman-1/+1
2021-06-27Revert "Revert effects of PRs 81167 and 83091."Albin Hedman-3/+7
2021-06-04Revert PRs 81238 and 82967 (which made copy and copy_nonoverlapping intrinsics).Felix S. Klock II-1/+6
2021-06-04Revert effects of PRs 81167 and 83091.Felix S. Klock II-6/+3
2021-05-19Fix UB in documented example for `ptr::swap`Frank Steffahn-3/+5
2021-05-05Rollup merge of #83553 - jfrimmel:addr-of, r=m-ou-seRalf Jung-38/+23
2021-05-03Update `ptr` docs with regards to `ptr::addr_of!`Julian Frimmel-38/+23
2021-05-02Change 'NULL' to 'null'Brent Kerby-12/+12