about summary refs log tree commit diff
path: root/library/core/src/ptr
AgeCommit message (Expand)AuthorLines
2022-09-09The `<*const T>::guaranteed_*` methods now return an option for the unknown caseOli Scherer-54/+50
2022-09-04Make `const_eval_select` a real intrinsicDeadbeef-5/+8
2022-08-31Fix a bunch of typoDezhi Wu-5/+5
2022-08-29Rollup merge of #100819 - WaffleLapkin:use_ptr_byte_methods, r=scottmcmDylan DPC-2/+2
2022-08-28Auto merge of #96946 - WaffleLapkin:ptr_mask, r=scottmcmbors-0/+30
2022-08-27Adjust ptr_const_cast stabilization version to CURRENT_RUSTC_VERSIONest31-4/+4
2022-08-25Stabilize `const_ptr_offset_from`.Deadbeef-2/+2
2022-08-23Make use of `[wrapping_]byte_{add,sub}`Maybe Waffle-2/+2
2022-08-21Use ptr::metadata in <[T]>::len implementationKonrad Borowski-8/+7
2022-08-21fill in tracking issue for `feature(ptr_mask)`Maybe Waffle-2/+2
2022-08-21Add pointer masking convenience functionsMaybe Waffle-0/+30
2022-08-13nicer Miri backtraces for from_exposed_addrRalf Jung-0/+2
2022-08-12Adjust cfgsMark Rousskov-19/+1
2022-08-12Rollup merge of #100030 - WaffleLapkin:nice_pointer_sis, r=scottmcmDylan DPC-16/+20
2022-08-11Rollup merge of #100184 - Kixunil:stabilize_ptr_const_cast, r=m-ou-seDylan DPC-4/+4
2022-08-10Stabilize ptr_const_castMartin Habovstiak-4/+4
2022-08-09move an `assert!` to the right placeWaffle Maybe-2/+2
2022-08-05Optimize `pointer::as_aligned_to`Maybe Waffle-8/+2
2022-08-05improve documentation of `pointer::align_offset`Maybe Waffle-16/+19
2022-08-05cleanup code w/ pointers in std a littleMaybe Waffle-5/+6
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