rust/library/std/src
Dylan DPC 58d23737a6
Rollup merge of #100820 - WaffleLapkin:use_ptr_is_aligned_methods, r=scottmcm
Use pointer `is_aligned*` methods

This PR replaces some manual alignment checks with calls to `pointer::{is_aligned, is_aligned_to}` and removes a useless pointer cast.

r? `@scottmcm`

_split off from #100746_
2022-08-22 20:34:15 +05:30
..
backtrace Use implicit capture syntax in format_args 2022-03-10 10:23:40 -05:00
collections make many std tests work in Miri 2022-08-18 18:07:39 -04:00
env
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 Guarantee try_reserve preserves the contents on error 2022-08-10 01:51:38 +09:00
fs Ignore hiberfil_sys test in CI 2022-07-18 15:06:07 +01:00
io make many std tests work in Miri 2022-08-18 18:07:39 -04:00
net Rollup merge of #99957 - chotchki:ip-globally-reachable_rebase, r=Mark-Simulacrum 2022-08-22 20:34:10 +05:30
num rustc_expand: Mark inner #![test] attributes as soft-unstable 2020-11-20 19:35:03 +03:00
os Rollup merge of #100822 - WaffleLapkin:no_offset_question_mark, r=scottmcm 2022-08-21 16:54:07 +02:00
panic
path make many std tests work in Miri 2022-08-18 18:07:39 -04: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 make many std tests work in Miri 2022-08-18 18:07:39 -04:00
sys Rollup merge of #100820 - WaffleLapkin:use_ptr_is_aligned_methods, r=scottmcm 2022-08-22 20:34:15 +05:30
sys_common Rollup merge of #100331 - lo48576:try-reserve-preserve-on-failure, r=thomcc 2022-08-22 20:34:12 +05:30
thread add some Miri-only tests 2022-08-18 18:07:39 -04:00
time make many std tests work in Miri 2022-08-18 18:07:39 -04: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 Improve primitive/std docs separation and headers 2022-08-20 16:50:29 -05:00
f32.rs Improve primitive/std docs separation and headers 2022-08-20 16:50:29 -05:00
f64.rs Improve primitive/std docs separation and headers 2022-08-20 16:50:29 -05: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 Rollup merge of #100820 - WaffleLapkin:use_ptr_is_aligned_methods, r=scottmcm 2022-08-22 20:34:15 +05:30
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 primitive/std docs separation and headers 2022-08-20 16:50:29 -05:00
process.rs Make doc for stdin field of process consistent 2022-08-21 01:56:26 -07: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