about summary refs log tree commit diff
path: root/library/core/src/intrinsics.rs
AgeCommit message (Expand)AuthorLines
2023-08-06Add a new `compare_bytes` intrinsic instead of calling `memcmp` directlyScott McMurray-0/+34
2023-07-22Add #[inline] to core debug assertion helpersBen Kimock-0/+3
2023-07-12Flip cfg's for bootstrap bumpMark Rousskov-17/+0
2023-06-30Mark wrapped intrinsics as inline(always)Luca Barbato-3/+3
2023-06-04Use 128 bits for TypeId hashThom Chiovoloni-0/+17
2023-05-30Bump to latest beta compilerMark Rousskov-31/+0
2023-05-30Swap out CURRENT_RUSTC_VERSION to 1.71.0Mark Rousskov-1/+1
2023-05-10Rollup merge of #111408 - TomMD:patch-1, r=workingjubileeMatthias Krüger-1/+1
2023-05-09Fix incorrect implication of transmuting slicesThomas M. DuBuisson-1/+1
2023-05-09Rollup merge of #97320 - usbalbin:stabilize_const_ptr_read, r=m-ou-seMatthias Krüger-1/+1
2023-05-07Add `#[inline]` to functions that are never calledGary Guo-0/+1
2023-05-05Stabilize const_ptr_readbors-1/+1
2023-04-30Codegen fewer instructions in `mem::replace`Scott McMurray-3/+27
2023-04-28handle cfg(bootstrap)Pietro Albini-4/+0
2023-04-27Also use `mir::Offset` for pointer `add`Scott McMurray-0/+12
2023-04-26Rollup merge of #110419 - jsoref:spelling-library, r=jyn514Matthias Krüger-2/+2
2023-04-26Spelling library/Josh Soref-2/+2
2023-04-22Add `intrinsics::transmute_unchecked`Scott McMurray-0/+22
2023-04-16Add a message indicating overflow inJohn Bobbo-1/+3
2023-04-15Use a `saturating_mul` instead of a `checked_mul`John Bobbo-1/+1
2023-04-13Document catch_fn in r#try cannot unwindGary Guo-0/+2
2023-04-12Make rust-intrinsic ABI unwindableGary Guo-1/+229
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