about summary refs log tree commit diff
path: root/library/core/src/hint.rs
AgeCommit message (Expand)AuthorLines
2025-02-18update version placeholdersJosh Stone-1/+1
2025-02-14core: Apply unsafe_op_in_unsafe_fnEric Huss-1/+1
2025-02-11Change the issue number for `likely_unlikely` and `cold_path`Trevor Gross-3/+3
2025-01-27Stabilize `const_black_box`Trevor Gross-1/+3
2025-01-20Rollup merge of #133695 - x17jiri:hint_likely, r=AmanieuMatthias Krüger-0/+135
2025-01-201. Removed 'rustc_nounwind' 2. Rewording of commentsJiri Bobek-11/+6
2025-01-15Export likely(), unlikely() and cold_path() in std::hintJiri Bobek-0/+140
2024-12-12feat: clarify how to use `black_box()`BD103-3/+89
2024-11-27update cfgsBoxy-1/+0
2024-10-25Re-do recursive const stability checksRalf Jung-1/+1
2024-09-01add extra linebreaks so rustdoc can identify the first sentencebinarycat-0/+1
2024-07-30Auto merge of #128083 - Mark-Simulacrum:bump-bootstrap, r=albertlarsan68bors-2/+2
2024-07-29Reformat `use` declarations.Nicholas Nethercote-2/+1
2024-07-28Update CURRENT_RUSTC_VERSIONMark Rousskov-2/+2
2024-07-04chore: remove repeat wordscuishuang-1/+1
2024-07-03Rollup merge of #123588 - tgross35:stabilize-assert_unchecked, r=dtolnayJacob Pratt-23/+74
2024-06-19Stabilize `hint_assert_unchecked`Trevor Gross-5/+3
2024-06-19Update documentation for `hint::assert_unchecked`Trevor Gross-20/+73
2024-06-19reword the hint::blackbox non-guaranteesThe 8472-1/+1
2024-04-15Add support for Arm64EC to the Standard LibraryDaniel Paoliello-1/+1
2024-03-23move assert_unsafe_preconditions to its own fileRalf Jung-2/+3
2024-03-08Distinguish between library and lang UB in assert_unsafe_preconditionBen Kimock-4/+7
2024-02-08Rewrite assert_unsafe_precondition around the new intrinsicBen Kimock-1/+1
2024-01-04Fixed ambiguity in hint.rsMing, Bai-1/+1
2023-12-19Add `hint::assert_unchecked`Scott McMurray-0/+48
2023-10-02Rollup merge of #116350 - Nilstrieb:in-situ, r=Dylan-DPCTyler Mandry-1/+1
2023-10-02Improve wording of `hint::black_box` docs4gboframram-1/+1
2023-09-04Simplify `core::hint::spin_loop`Maybe Waffle-24/+17
2023-04-26Rollup merge of #108416 - pat-nel87:Issue-107957-black_box_docs, r=jyn514jyn-6/+3
2023-04-22Fix grammarCaleb Robson-2/+2
2023-03-25Correct typo (`back_box` -> `black_box`)Evie M-1/+1
2023-03-07black_box hint - Adjust for improved readabilitypat-nel87-6/+3
2023-02-23black_box doc corrections - Issue #107957pat-nel87-3/+3
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