about summary refs log tree commit diff
path: root/library/core/src/hint.rs
AgeCommit message (Expand)AuthorLines
2025-07-25Improve and regularize comment placement in doc codeJosh Triplett-2/+0
2025-05-27Auto merge of #129658 - saethlin:spare-a-crumb, r=jhprattbors-1/+1
2025-05-21Add some track_caller info to precondition panicsBen Kimock-1/+1
2025-05-15Updated std doctests for wasmEric Huss-1/+1
2025-05-12update version placeholdersPietro Albini-1/+1
2025-05-08Rollup merge of #140341 - saethlin:black-box-qoi, r=Mark-SimulacrumMatthias Krüger-0/+4
2025-05-08Indicate that the warning on black_box is a general property of RustBen Kimock-0/+4
2025-05-01Stabilize `select_unpredictable`Amanieu d'Antras-3/+1
2025-04-17Fix drop handling in `hint::select_unpredictable`Amanieu d'Antras-9/+21
2025-04-13Move `select_unpredictable` to the `hint` moduleAmanieu d'Antras-0/+49
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