about summary refs log tree commit diff
path: root/library/core/src/ptr
AgeCommit message (Expand)AuthorLines
2022-11-09Rollup merge of #103694 - WaffleLapkin:mask_doc_example, r=scottmcmDylan DPC-0/+53
2022-10-28Add examples for `pointer::mask`Maybe Waffle-0/+53
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-9/+35
2022-10-26Print the precondition we violated, and visible through output captureBen Kimock-9/+35
2022-10-27Rollup merge of #103580 - lukas-code:guaranteed_ne, r=GuillaumeGomezYuki Okushi-2/+2
2022-10-26Fix typo in docs for `guaranteed_ne`Lukas Markeffsky-2/+2
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-8/+7
2022-10-22Rollup merge of #103346 - HeroicKatora:metadata_of_const_pointer_argument, r=...Dylan DPC-1/+5
2022-10-22Rollup merge of #103329 - saethlin:nonnull-precondition, r=thomccDylan DPC-1/+5
2022-10-21Argument type for mutable with_metadata_of (#75091)Andreas Molzer-1/+5
2022-10-20Add a missing precondition checkBen Kimock-1/+5
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-16Fix types in documentation for Alignment::as_usize and Alignmnet::as_nonzeroThayne McCombs-2/+2
2022-10-14more dupe word typosRageking8-2/+2
2022-10-09From<Alignment> for usize & NonZeroUsizeScott McMurray-0/+16
2022-10-10Rollup merge of #102072 - scottmcm:ptr-alignment-type, r=thomccYuki Okushi-0/+309
2022-10-07add a few more assert_unsafe_preconditionRalf Jung-0/+2
2022-09-26remove cfg(bootstrap)Pietro Albini-2/+0
2022-09-26replace stabilization placeholdersPietro Albini-4/+4
2022-09-22Derive Eq/PartialEq instead of manually implementing itScott McMurray-15/+23
2022-09-21Add `rustc_allow_const_fn_unstable` annotations to pre-existing `Layout` methodsScott McMurray-1/+3
2022-09-20Add `ptr::Alignment` typeScott McMurray-0/+299
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