about summary refs log tree commit diff
path: root/library/core/src/intrinsics.rs
AgeCommit message (Expand)AuthorLines
2023-03-18move Option::as_slice to intrinsicAndre Bogus-0/+6
2023-03-14Improved implementation and comments after code review feedbackScott McMurray-9/+5
2023-03-11`MaybeUninit::assume_init_read` should have `noundef` load metadataScott McMurray-0/+14
2023-03-07Auto merge of #95317 - Jules-Bertholet:round_ties_to_even, r=pnkfelix,m-ou-se...bors-0/+19
2023-03-01Merge two different equality specialization traits in `core`Scott McMurray-0/+4
2023-01-30stage-step cfgsMark Rousskov-2/+0
2022-12-28Update bootstrap cfgPietro Albini-61/+0
2022-12-22abort immediately on bad mem::zeroed/uninitRalf Jung-1/+1
2022-12-21less specific wordingRalf Jung-2/+1
2022-12-13Rename `assert_uninit_valid` intrinsicNilstrieb-3/+4
2022-12-11Use rint instead of roundevenJules Bertholet-5/+8
2022-12-11Add `round_ties_even` to `f32` and `f64`Jules Bertholet-0/+16
2022-11-19constify `exact_div` intrinsicLukas Markeffsky-0/+1
2022-11-14Auto merge of #103858 - Mark-Simulacrum:bump-bootstrap, r=pietroalbinibors-38/+38
2022-11-08Add support for custom MIR parsingJakob Degen-0/+3
2022-11-06cfg-step codeMark Rousskov-38/+38
2022-11-05Enforce Tuple trait on Fn traitsMichael Goulet-0/+66
2022-10-26Print the precondition we violated, and visible through output captureBen Kimock-6/+17
2022-10-26Rollup merge of #103287 - saethlin:faster-len-check, r=thomccDylan DPC-0/+10
2022-10-19Adjust `transmute{,_copy}` to be clearer about which of `T` and `U` is input ...Thom Chiovoloni-4/+4
2022-10-20Use a faster allocation size check in slice::from_raw_partsBen Kimock-0/+10
2022-10-11use panic_fmt_nounwind for assert_unsafe_preconditionRalf Jung-2/+2
2022-09-27core: Mark all safe intrinsics with #[rustc_safe_intrinsic]Arthur Cohen-0/+38
2022-09-26remove cfg(bootstrap)Pietro Albini-65/+0
2022-09-09The `<*const T>::guaranteed_*` methods now return an option for the unknown caseOli Scherer-6/+19
2022-09-04Add `inline(always)` to function generated by macroDeadbeef-0/+1
2022-09-04Make `const_eval_select` a real intrinsicDeadbeef-62/+81
2022-08-31Fix a bunch of typoDezhi Wu-1/+1
2022-08-28Auto merge of #96946 - WaffleLapkin:ptr_mask, r=scottmcmbors-0/+11
2022-08-27Rollup merge of #96240 - fee1-dead-contrib:stabilize_const_offset_from, r=Mar...Yuki Okushi-2/+2
2022-08-25Do not include `const_ptr_sub_ptr` in this stabilizationDeadbeef-1/+1
2022-08-25Stabilize `const_ptr_offset_from`.Deadbeef-2/+2
2022-08-23Remove aliases for old atomic intrinsics namesTomasz Miąsko-21/+0
2022-08-22Rollup merge of #100820 - WaffleLapkin:use_ptr_is_aligned_methods, r=scottmcmDylan DPC-1/+1
2022-08-21Make use of `pointer::is_aligned[_to]`Maybe Waffle-1/+1
2022-08-21fix nitpicks from reviewMaybe Waffle-1/+1
2022-08-21Add pointer masking convenience functionsMaybe Waffle-0/+11
2022-08-21Make some docs nicer wrt pointer offsetsMaybe Waffle-1/+1
2022-08-12Adjust cfgsMark Rousskov-217/+5
2022-08-11Rollup merge of #99511 - RalfJung:raw_eq, r=wesleywiserMatthias Krüger-1/+2
2022-08-10grammarRalf Jung-1/+1
2022-08-03Rollup merge of #99614 - RalfJung:transmute-is-not-memcpy, r=thomccDylan DPC-13/+18
2022-08-02wordsmithingRalf Jung-2/+4
2022-07-31typoRalf Jung-1/+1
2022-07-26Rollup merge of #99084 - RalfJung:write_bytes, r=thomccYuki Okushi-37/+14
2022-07-24add miri-track-caller to some intrinsic-exposing methodsRalf Jung-0/+2
2022-07-24Auto merge of #98674 - RalfJung:miri-stacktrace-pruning, r=Mark-Simulacrumbors-0/+1
2022-07-23say some more things about how transmute is UBRalf Jung-11/+13
2022-07-22do not claim that transmute is like memcpyRalf Jung-2/+3
2022-07-20add intrinsic to access vtable size and alignRalf Jung-0/+10