summary refs log tree commit diff
path: root/library/core/src/ptr/mod.rs
AgeCommit message (Expand)AuthorLines
2023-05-29Swap out CURRENT_RUSTC_VERSION to 1.71.0Mark Rousskov-2/+2
2023-05-21drop_in_place docs: remove pseudocode-ish implementation detailsErik Desjardins-15/+1
2023-05-20improve drop_in_place docsErik Desjardins-4/+6
2023-05-20Add missing "unsafe" to fix doctestPatrick Walton-1/+1
2023-05-20Update documentation for `drop_in_place()`Patrick Walton-6/+24
2023-05-05Stabilize const_ptr_readbors-2/+4
2023-05-05`assume` the runtime range of `align_offset`Scott McMurray-4/+10
2023-04-30Codegen fewer instructions in `mem::replace`Scott McMurray-9/+8
2023-04-28handle cfg(bootstrap)Pietro Albini-207/+36
2023-04-26Rollup merge of #110419 - jsoref:spelling-library, r=jyn514Matthias Krüger-1/+1
2023-04-26Spelling library/Josh Soref-1/+1
2023-04-16more hacksDeadbeef-1/+6
2023-04-12Make rust-intrinsic ABI unwindableGary Guo-0/+1
2023-03-27Use the FnPtr trait to avoid implementing common traits via macrosOli Scherer-106/+161
2023-03-14Improved implementation and comments after code review feedbackScott McMurray-3/+5
2023-03-12Add a better approach comment in `ptr::read` to justify the intrinsicScott McMurray-11/+32
2023-03-11`MaybeUninit::assume_init_read` should have `noundef` load metadataScott McMurray-6/+14
2023-03-09Make ptr::from_ref and ptr::from_mut in #106116 const.Raekye-2/+2
2023-01-14Remove various double spaces in source comments.André Vennberg-1/+1
2022-12-24Auto merge of #104977 - RalfJung:ptr-from-ref, r=dtolnaybors-15/+37
2022-12-24add tracking issue, fix typoRalf Jung-3/+3
2022-12-09Auto merge of #105262 - eduardosm:more-inline-always, r=thomccbors-3/+3
2022-12-08lib docs: fix typoRalf Jung-1/+1
2022-12-07Make some trivial functions `#[inline(always)]`Eduardo Sánchez Muñoz-3/+3
2022-11-27add ptr::from_{ref,mut}Ralf Jung-15/+37
2022-11-20enable fuzzy_provenance_casts in libcore+testsRalf Jung-0/+2
2022-11-19Update comment on pointer-to-usize transmuteLukas-3/+4
2022-11-19Revert "don't call `align_offset` during const eval, ever"Lukas Markeffsky-2/+5
2022-11-19don't call `align_offset` during const eval, everLukas Markeffsky-7/+2
2022-11-19make const `align_offset` usefulLukas Markeffsky-5/+16
2022-11-18Rollup merge of #103378 - nagisa:fix-infinite-offset, r=scottmcmManish Goregaokar-26/+28
2022-11-15Auto merge of #104054 - RalfJung:byte-provenance, r=oli-obkbors-14/+8
2022-11-14Auto merge of #103858 - Mark-Simulacrum:bump-bootstrap, r=pietroalbinibors-1/+0
2022-11-06cfg-step codeMark Rousskov-1/+0
2022-11-06Add small clarification around using pointers derived from referencesAlex Saveau-2/+2
2022-11-06remove no-longer-needed work-arounds from the standard libraryRalf Jung-14/+8
2022-10-27Rollup merge of #103106 - saethlin:from_exposed_docs, r=thomccMatthias Krüger-6/+15
2022-10-27Rollup merge of #103035 - saethlin:assert_unsafe_precondition3, r=thomccMatthias Krüger-6/+24
2022-10-26Print the precondition we violated, and visible through output captureBen Kimock-6/+24
2022-10-26Update library/core/src/ptr/mod.rsBen Kimock-0/+1
2022-10-26explicitly mention that both components of wide prts are comparedRalf Jung-0/+1
2022-10-26ptr::eq: clarify that comparing dyn Trait is fragileRalf Jung-35/+5
2022-10-25Try to say that memory outside the AM is always exposedBen Kimock-6/+14
2022-10-24Auto merge of #100848 - xfix:use-metadata-for-slice-len, r=thomccbors-1/+0
2022-10-22Fix mod_inv termination for the last iterationSimonas Kazlauskas-26/+28
2022-10-20Skip C-unwind fn pointer impls with the bootstrap compilerRyan Lopopolo-0/+1
2022-10-19Update stability annotations on fnptr impls for C-unwind ABIRyan Lopopolo-13/+19
2022-10-19Add default trait implementations for "c-unwind" ABI function pointersRyan Lopopolo-0/+6
2022-10-10Rollup merge of #102072 - scottmcm:ptr-alignment-type, r=thomccYuki Okushi-0/+4
2022-10-07add a few more assert_unsafe_preconditionRalf Jung-0/+2