summary refs log tree commit diff
path: root/library/core/src/ptr
AgeCommit message (Expand)AuthorLines
2022-07-26Rollup merge of #99692 - RalfJung:too-far, r=oli-obkDylan DPC-1/+1
2022-07-24interpret, ptr_offset_from: refactor and test too-far-apart checkRalf Jung-1/+1
2022-07-24add miri-track-caller to some intrinsic-exposing methodsRalf Jung-0/+24
2022-07-24Auto merge of #98674 - RalfJung:miri-stacktrace-pruning, r=Mark-Simulacrumbors-0/+16
2022-07-22Rollup merge of #98174 - Kixunil:rename_ptr_as_mut_const_to_cast, r=scottmcmDylan DPC-4/+6
2022-07-21Rename `<*{mut,const} T>::as_{const,mut}` to `cast_`Martin Habovstiak-4/+6
2022-07-20various nits from reviewRalf Jung-2/+1
2022-07-20use extern type for extra opaquenessRalf Jung-7/+8
2022-07-20incorporate some review feedbackRalf Jung-0/+3
2022-07-20add intrinsic to access vtable size and alignRalf Jung-2/+24
2022-07-20prune raw pointer read and write methods from Miri backtracesRalf Jung-0/+16
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-8/+8
2022-06-06Rollup merge of #97764 - RalfJung:strict, r=dtolnayMatthias Krüger-2/+2
2022-06-06Auto merge of #97710 - RalfJung:ptr-addr, r=thomccbors-2/+6
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-03implement ptr.addr() via transmuteRalf Jung-2/+6
2022-06-02Rollup merge of #97420 - WaffleLapkin:no_oxford_casts_qqq, r=Mark-SimulacrumDylan DPC-12/+2
2022-06-02Rollup merge of #95594 - the8472:raw_slice_methods, r=yaahcYuki Okushi-1/+118
2022-05-31Update mut_ptr.rsLukas-0/+1
2022-05-29Remove `(fn(...) -> ...)` -> `usize` -> `*const ()` -> `usize` castMaybe Waffle-12/+2
2022-05-29Rollup merge of #97482 - RalfJung:ptr-invalid, r=thomccGuillaume Gomez-6/+7
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-28Rollup merge of #94640 - Pointerbender:issue-71146-partial-stabilization, r=y...Dylan DPC-3/+4
2022-05-25Auto merge of #94954 - SimonSapin:null-thin3, r=yaahcbors-0/+46
2022-05-23Auto merge of #96100 - Raekye:master, r=dtolnaybors-4/+4
2022-05-20make ptr::invalid not the same as a regular int2ptr castRalf Jung-2/+10
2022-05-17bump stable version #94640Pointerbender-2/+2
2022-05-13Extend ptr::null and null_mut to all thin (including extern) typesSimon Sapin-0/+46
2022-05-12Fill-in tracking issues for features pointer_byte_offsets, const_pointer_byte...Maybe Waffle-32/+32
2022-05-12Optimize `ptr.is_aligned_to()`Maybe Waffle-0/+6
2022-05-12Implement `ptr.is_aligned()` in terms of `.is_aligned_to()`Maybe Waffle-2/+2
2022-05-12Lift the `Sized` requirement from convenience ptr fnsMaybe Waffle-78/+89
2022-05-12Add convenience functions to pointersMaybe Waffle-2/+320
2022-05-11Apply CR suggestions; add real tracking issueScott McMurray-8/+8
2022-05-11Add a debug check for ordering, and check for isize overflow in CTFEScott McMurray-0/+4
2022-05-11Rename `unsigned_offset_from` to `sub_ptr`Scott McMurray-12/+36
2022-05-11Add `unsigned_offset_from` on pointersScott McMurray-0/+121
2022-05-10Rollup merge of #96674 - bstrie:vardoc, r=thomccDylan DPC-1/+2
2022-05-07Rollup merge of #96336 - Nilstrieb:link-to-correct-as_mut-in-ptr-as_ref, r=Jo...Matthias Krüger-1/+1
2022-05-03docs: add link explaining variance to NonNull docsbstrie-1/+2