summary refs log tree commit diff
path: root/library/core/src/ptr/mod.rs
AgeCommit message (Expand)AuthorLines
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-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
2022-09-20Add `ptr::Alignment` typeScott McMurray-0/+4
2022-09-04Make `const_eval_select` a real intrinsicDeadbeef-4/+4
2022-08-31Fix a bunch of typoDezhi Wu-3/+3
2022-08-21Use ptr::metadata in <[T]>::len implementationKonrad Borowski-1/+0
2022-08-13nicer Miri backtraces for from_exposed_addrRalf Jung-0/+2
2022-08-12Adjust cfgsMark Rousskov-1/+1
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