rust/library/std/src
bors 569788e47e Auto merge of #99624 - vincenzopalazzo:macros/unix_error, r=Amanieu
promote debug_assert to assert when possible and useful

This PR fixed a very old issue https://github.com/rust-lang/rust/issues/94705 to clarify and improve the POSIX error checking, and some of the checks are skipped because can have no benefit, but I'm sure that this can open some interesting discussion.

Fixes https://github.com/rust-lang/rust/issues/94705

cc: `@tavianator`
cc: `@cuviper`
2022-08-12 09:49:55 +00:00
..
backtrace Use implicit capture syntax in format_args 2022-03-10 10:23:40 -05:00
collections Rollup merge of #96173 - jmaargh:jmaargh/with-capacity-doc-fix, r=Dylan-DPC 2022-06-23 14:39:05 -07:00
env std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
error remove fn backtrace 2022-08-01 20:10:40 +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 #97915 - tbu-:pr_os_string_fmt_write, r=joshtriplett 2022-07-17 13:08:48 +09:00
fs Ignore hiberfil_sys test in CI 2022-07-18 15:06:07 +01:00
io Auto merge of #98748 - saethlin:optimize-bufreader, r=Mark-Simulacrum 2022-07-27 09:49:06 +00:00
net Auto merge of #78802 - faern:simplify-socketaddr, r=joshtriplett 2022-07-31 15:56:28 +00:00
num rustc_expand: Mark inner #![test] attributes as soft-unstable 2020-11-20 19:35:03 +03:00
os Allow using stable os::fd::raw items through unstable os::wasi module 2022-07-27 10:25:13 -04:00
panic review: fix nits and move panic safety tests to the correct place 2020-09-25 23:10:24 +02:00
path Allow unused_macro_rules in path tests 2022-05-16 08:55:05 +02:00
prelude Finish bumping stage0 2022-05-27 07:36:17 -04:00
process Add test for issue #95178 2022-03-23 05:33:44 +00:00
sync Rollup merge of #97629 - guswynn:exclusive_struct, r=m-ou-se 2022-06-30 19:55:50 +02:00
sys Auto merge of #99624 - vincenzopalazzo:macros/unix_error, r=Amanieu 2022-08-12 09:49:55 +00:00
sys_common Auto merge of #78802 - faern:simplify-socketaddr, r=joshtriplett 2022-07-31 15:56:28 +00:00
thread Auto merge of #97925 - the8472:cgroupv1, r=joshtriplett 2022-07-23 13:33:56 +00:00
time Use implicit capture syntax in format_args 2022-03-10 10:23:40 -05:00
alloc.rs Update std::alloc::System docs 2022-06-26 16:31:29 +02:00
ascii.rs Remove use of #[rustc_deprecated] 2022-04-14 01:33:13 -04:00
backtrace.rs Add stability attributes to BacktraceStatus variants 2022-08-11 11:00:07 -07:00
env.rs add aliases for current_dir 2022-05-24 19:41:40 -07:00
error.rs Stabilize backtrace 2022-08-02 16:21:20 -07:00
f32.rs Rollup merge of #95483 - golddranks:improve_float_docs, r=joshtriplett 2022-05-09 18:45:35 +02:00
f64.rs Rollup merge of #95483 - golddranks:improve_float_docs, r=joshtriplett 2022-05-09 18:45:35 +02:00
fs.rs Auto merge of #98246 - joshtriplett:times, r=m-ou-se 2022-08-01 06:44:43 +00:00
keyword_docs.rs Rollup merge of #98169 - pierwill:dyn-disp, r=JohnTitor 2022-06-17 07:16:58 +09:00
lazy.rs Move/rename lazy::Sync{OnceCell,Lazy} to sync::{Once,Lazy}Lock 2022-06-16 19:54:42 +04:00
lib.rs add crt-static for android 2022-08-10 19:42:24 +03:00
macros.rs Make write/print macros eagerly drop temporaries 2022-05-22 16:11:08 -07:00
num.rs Add Saturating type (based on Wrapping type) 2021-08-10 19:27:01 +02:00
panic.rs Support unstable moves via stable in unstable items 2022-07-08 21:18:13 +00:00
panicking.rs Auto merge of #92461 - rust-lang:const_tls_local_panic_count, r=Mark-Simulacrum 2022-05-23 13:04:59 +00:00
path.rs Rollup merge of #97912 - Kixunil:stabilize_path_try_exists, r=dtolnay 2022-06-20 07:37:41 +09:00
primitive_docs.rs Improve the function pointer docs 2022-07-19 08:52:24 -07:00
process.rs Rollup merge of #97917 - AronParker:master, r=ChrisDenton 2022-07-07 20:33:23 +02:00
rt.rs Change Termination::report return type to ExitCode 2022-01-28 12:53:36 -08:00
time.rs Support setting file accessed/modified timestamps 2022-07-15 02:54:06 -07:00