rust/library/core/src
Matthias Krüger af073e4e88
Rollup merge of #126703 - the8472:on-blackbox-crypto-use, r=scottmcm
reword the hint::blackbox non-guarantees

People were tripped up by the "precludes", interpreting it that this function must not ever be used in cryptographic contexts rather than the std lib merely making zero promises about it being fit-for-purpose.

What remains unchanged is that if someone does try to use it *despite the warnings* then it is on them to pin their compiler versions and verify the assembly of every single binary build they do.
2024-06-20 07:52:45 +02:00
..
alloc alloc::Layout: explicitly document size invariant on the type level 2024-03-25 20:18:46 +01:00
array core: add tracking issue for array::repeat 2024-06-19 17:48:00 +02:00
ascii implement Default for AsciiChar 2024-02-13 12:04:44 +01:00
async_iter Hide async_gen_internals from standard library documentation 2024-04-05 18:54:38 -07:00
cell replace version placeholder 2024-06-11 16:52:02 +02:00
char Improve escape methods. 2024-05-09 17:04:30 +02:00
cmp Use generic NonZero everywhere in core. 2024-02-22 15:17:33 +01:00
convert Re-add From<f16> for f64 2024-05-04 22:56:35 +01:00
ffi Fix c_char on AIX 2024-05-20 22:46:13 +09:00
fmt Size optimize int formatting 2024-05-27 11:08:21 +02:00
future Add tracking issue to async_drop API 2024-06-17 17:20:13 +03:00
hash Add fn const BuildHasherDefault::new 2024-03-29 17:10:17 +01:00
intrinsics remove cfg(bootstrap) 2024-06-11 16:52:04 +02:00
io Remove bound checks from BorrowedBuf and BorrowedCursor methods 2024-04-15 10:29:43 +02:00
iter core: implement UncheckedIterator for RepeatN 2024-06-19 17:29:54 +02:00
macros Rollup merge of #126096 - c410-f3r:tests-tests-tests, r=jhpratt 2024-06-06 14:46:25 -07:00
mem Use inline const instead of unsafe to implement MaybeUninit::uninit_array(). 2024-06-04 14:40:22 -07:00
net replace version placeholder 2024-06-11 16:52:02 +02:00
num Rollup merge of #126468 - RalfJung:euclid, r=Mark-Simulacrum 2024-06-17 04:53:56 +01:00
ops LangItem-ify Coroutine trait in solvers 2024-06-13 09:34:28 -04:00
panic Add PanicMessage type for PanicInfo::message(). 2024-06-17 20:44:55 +02:00
prelude replace version placeholder 2024-06-11 16:52:02 +02:00
ptr Rollup merge of #126288 - x4exr:patch-1, r=dtolnay 2024-06-17 04:53:55 +01:00
slice Auto merge of #125720 - folkertdev:optimize_for_size-ptr-rotate, r=Amanieu 2024-06-17 01:45:22 +00:00
str Auto merge of #126273 - pietroalbini:pa-bootstrap-update, r=Mark-Simulacrum 2024-06-12 18:15:32 +00:00
sync Replace move|| with move || in compiler/ and library/ 2024-06-18 23:25:08 +08:00
task Wrap Context.ext in AssertUnwindSafe 2024-05-21 19:05:37 -07:00
unicode Add a lower bound check to unicode-table-generator output 2024-04-20 10:16:45 +02:00
any.rs Improve wording in std::any explanation 2024-03-29 10:10:52 -07:00
arch.rs Rust is a proper name: rust → Rust 2024-03-07 07:49:22 +01:00
ascii.rs Improve escape methods. 2024-05-09 17:04:30 +02:00
asserting.rs [RFC 2011] Library code 2022-05-22 07:18:32 -03:00
bool.rs core is now compilable 2023-04-16 07:20:26 +00:00
borrow.rs doc: replace wrong punctuation mark 2023-07-28 14:46:17 +02:00
cell.rs replace version placeholder 2024-06-11 16:52:02 +02:00
clone.rs Revert "Put basic impls for f16 and f128 behind cfg(not(bootstrap))" 2024-04-10 13:50:27 -04:00
cmp.rs Make clamp inline 2024-05-23 18:45:03 +02:00
default.rs Step bootstrap cfgs 2024-05-01 22:19:11 -04:00
error.md Mention core's PanicInfo in error.md. 2024-06-11 15:47:00 +02:00
error.rs update comment 2024-06-16 06:31:37 +08:00
escape.rs Improve escape methods. 2024-05-09 17:04:30 +02:00
hint.rs reword the hint::blackbox non-guarantees 2024-06-19 20:01:32 +02:00
internal_macros.rs Revert "Rollup merge of #125362 - joboet:tait_hack, r=Nilstrieb" 2024-06-12 08:47:49 +00:00
intrinsics.rs fix wrong assert_unsafe_precondition message for core::ptr::copy 2024-06-13 14:45:45 +02:00
lib.miri.rs add 'x.py miri', and make it work for 'library/{core,alloc,std}' 2024-04-03 20:27:20 +02:00
lib.rs Revert "Rollup merge of #125362 - joboet:tait_hack, r=Nilstrieb" 2024-06-12 08:47:49 +00:00
marker.rs Revert "Put basic impls for f16 and f128 behind cfg(not(bootstrap))" 2024-04-10 13:50:27 -04:00
option.rs add tracking issue for is_none_or 2024-06-13 10:09:59 +02:00
panic.rs Add PanicMessage type for PanicInfo::message(). 2024-06-17 20:44:55 +02:00
panicking.rs Rename std::panic::PanicInfo to PanicHookInfo. 2024-06-11 15:47:00 +02:00
pat.rs Add pattern types to parser 2024-04-08 11:57:17 +00:00
pin.rs Fix typo in docs for std::pin 2024-06-07 12:18:43 -07:00
primitive.rs
primitive_docs.rs Rollup merge of #125043 - RalfJung:ref-type-safety-invariant, r=scottmcm 2024-05-22 23:41:11 +02:00
result.rs Rollup merge of #124870 - Lokathor:update-result-docs, r=dtolnay 2024-05-27 13:10:33 +02:00
time.rs replace version placeholder 2024-06-11 16:52:02 +02:00
tuple.rs Rollup merge of #118307 - scottmcm:tuple-eq-simpler, r=joshtriplett 2024-02-11 08:25:41 +01:00
ub_checks.rs export assert_unsafe_precondition macro for std-internal use 2024-04-22 19:02:37 +02:00
unit.rs Import the 2021 prelude in the core crate 2024-03-25 13:12:06 -07:00