rust/library/std/src
Matthias Krüger fdc305d58d
Rollup merge of #91176 - hermitcore:spin, r=kennytm
If the thread does not get the lock in the short term, yield the CPU

Reduces on [RustyHermit](https://github.com/hermitcore/rusty-hermit) the amount of wasted processor cycles
2021-11-26 16:02:24 +01:00
..
backtrace Add Frames iterator for Backtrace 2021-01-23 11:56:33 -06:00
collections Fix collection entry API documentation. 2021-11-10 12:37:18 +02:00
env std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
error std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
f32 Implement IEEE 754-2019 minimun and maximum functions for f32/f64 2021-11-20 10:14:03 +01:00
f64 Remove fNN::lerp - consensus unlikely 2021-10-25 22:44:41 -05:00
ffi Rollup merge of #90430 - jkugelman:must-use-std-a-through-n, r=joshtriplett 2021-10-31 13:20:06 +01:00
fs Rollup merge of #90942 - JohnTitor:should-os-error-3, r=m-ou-se 2021-11-19 13:06:35 +09:00
io Mention std::io::Error::from(ErrorKind) in Error::new() docs 2021-11-21 09:00:13 +01:00
lazy Upgrade wasm32 image to Ubuntu 20.04 2021-02-06 13:05:56 +01:00
net use matches!() macro in more places 2021-11-06 16:13:14 +01:00
num rustc_expand: Mark inner #![test] attributes as soft-unstable 2020-11-20 19:35:03 +03:00
os Rollup merge of #90835 - sunfishcode:sunfishcode/wasi-char-device, r=alexcrichton 2021-11-16 09:14:19 +09:00
panic review: fix nits and move panic safety tests to the correct place 2020-09-25 23:10:24 +02:00
path add benchmarks and tests for Hash and Eq impls on Path 2021-11-09 20:54:00 +01:00
prelude Move asm! and global_asm! to core::arch 2021-07-18 18:30:58 -04:00
process fix test in std::process on android 2021-11-23 13:57:22 +08:00
sync Add #[must_use] to remaining std functions (O-Z) 2021-10-30 23:37:32 -04:00
sys Improving the readability 2021-11-24 21:12:56 +01:00
sys_common libcore: assume the input of next_code_point and next_code_point_reverse is UTF-8-like 2021-11-21 17:05:55 +01:00
thread Auto merge of #90774 - alexcrichton:tweak-const, r=m-ou-se 2021-11-18 23:54:14 +00:00
time Add #[must_use] to remaining std functions (O-Z) 2021-10-30 23:37:32 -04:00
alloc.rs Rename rterr to rtprintpanic 2021-05-19 15:52:09 +02:00
ascii.rs Convert many files to intra-doc links 2020-09-02 17:37:40 -04:00
backtrace.rs Add #[must_use] to remaining std functions (A-N) 2021-10-30 23:44:02 -04:00
env.rs Add #[must_use] to remaining std functions (A-N) 2021-10-30 23:44:02 -04:00
error.rs Stabilize try_reserve 2021-10-04 10:29:46 +01:00
f32.rs Remove fNN::lerp - consensus unlikely 2021-10-25 22:44:41 -05:00
f64.rs Remove fNN::lerp - consensus unlikely 2021-10-25 22:44:41 -05:00
fs.rs Stabilize File::options() 2021-11-09 10:22:28 -08:00
keyword_docs.rs Simplify for loop desugar 2021-11-21 08:15:21 -06:00
lazy.rs Add #[must_use] to core and std constructors 2021-10-10 02:44:26 -04:00
lib.rs Rollup merge of #90420 - GuillaumeGomez:rustdoc-internals-feature, r=camelid 2021-11-24 22:56:37 +01:00
macros.rs bump bootstrap compiler to 1.55 2021-08-01 11:19:24 -04:00
num.rs Add Saturating type (based on Wrapping type) 2021-08-10 19:27:01 +02:00
panic.rs Deduplicate panic_fmt 2021-10-19 15:02:21 +01:00
panicking.rs Add #[must_use] to remaining std functions (O-Z) 2021-10-30 23:37:32 -04:00
path.rs Prefix can be case-insensitive, delegate to its Hash impl instead of trying to hash the raw bytes 2021-11-11 21:44:12 +01:00
primitive_docs.rs Remove unnecessary doc links 2021-11-19 19:13:53 +03:00
process.rs Rollup merge of #88601 - ibraheemdev:termination-result-infallible, r=yaahc 2021-11-16 09:14:15 +09:00
rt.rs Rollup merge of #89068 - bjorn3:restructure_rt2, r=joshtriplett 2021-10-31 13:20:04 +01:00
time.rs Add #[must_use] to remaining std functions (O-Z) 2021-10-30 23:37:32 -04:00