about summary refs log tree commit diff
path: root/library/core/src/hint.rs
AgeCommit message (Expand)AuthorLines
2023-03-25Correct typo (`back_box` -> `black_box`)Evie M-1/+1
2023-02-15clarify correctness of `black_box`Callum Leslie-1/+2
2023-01-07Improve the documentation of `black_box`Trevor Gross-0/+69
2022-12-07Make some trivial functions `#[inline(always)]`Eduardo Sánchez Muñoz-1/+2
2022-11-06Bump version placeholders to releaseMark Rousskov-1/+1
2022-10-26Print the precondition we violated, and visible through output captureBen Kimock-1/+1
2022-10-07add a few more assert_unsafe_preconditionRalf Jung-1/+4
2022-09-27Stabilize bench_black_boxUrgau-1/+1
2022-09-06Compile spin_loop_hint as pause on x86 even without sse2 enabledbjorn3-11/+8
2022-08-31Fix a bunch of typoDezhi Wu-1/+1
2022-07-24add miri-track-caller to some intrinsic-exposing methodsRalf Jung-0/+1
2022-05-06Clarify unreachable_unchecked docsLukas Lueg-9/+16
2022-04-17Expand core::hint::unreachable_unchecked() docsLukas Lueg-14/+58
2022-03-08Add core::hint::must_useDavid Tolnay-0/+123
2022-01-05Add is_riscv_feature_detected!; modify impl of hint::spin_loopluojia65-5/+15
2021-12-23Constify `core::intrinsics::black_box`woppopo-1/+2
2021-12-05Add spin_loop hint for RISC-V architectureluojia65-0/+5
2021-10-04Stabilize `unreachable_unchecked` as `const fn`Jacob Pratt-1/+1
2021-09-08Bump stage0 compiler to 1.56Mark Rousskov-14/+2
2021-08-15Allow the use of the deprecated llvm_asm! in black_boxAmanieu d'Antras-0/+1
2021-08-12Implement `black_box` using intrinsicGary Guo-12/+8
2021-05-02Auto merge of #84725 - sebpop:arm64-isb, r=joshtriplettbors-1/+1
2021-04-29[Arm64] use isb instruction instead of yield in spin loopsSebastian Pop-1/+1
2021-04-25move core::hint::black_box under its own feature gateRalf Jung-1/+1
2021-01-03Fixed documentation errorbool-1/+1
2020-11-06Stabilize hint::spin_loopIvan Tham-9/+53
2020-10-05hint doc use intra-doc linksIvan Tham-1/+1
2020-10-05Hint doc use convert::identity relative linkIvan Tham-2/+2
2020-09-20Rollup merge of #76823 - RalfJung:black-box-warn, r=joshtriplettRalf Jung-1/+1
2020-09-19Rollup merge of #76434 - RalfJung:black-box, r=Mark-SimulacrumRalf Jung-1/+2
2020-09-17black_box: silence unused_mut warning when building with cfg(miri)Ralf Jung-1/+1
2020-09-16Fix black_box bug detected by AmanieuLzu Tao-1/+1
2020-09-16Prefer asm! over llvm_asm! in coreLzu Tao-2/+3
2020-09-07do not inline black_box when building for MiriRalf Jung-1/+2
2020-08-27Fix typo in `std::hint::black_box` docsaticu-1/+1
2020-08-12Remove intra-doc link as it resolves without reference linkDenis Vasilik-1/+0
2020-08-11Revert broken linkDenis Vasilik-1/+1
2020-08-11Use intra-doc linksDenis Vasilik-3/+3
2020-08-08make black_box a NOP in MiriRalf Jung-1/+3
2020-07-27mv std libs to library/mark-0/+127