rust/library/std/src
Matthias Krüger ee77dda778
Rollup merge of #128092 - ChrisDenton:wrappers, r=workingjubilee
Remove wrapper functions from c.rs

I'd like for the windows `c.rs` just to contain the basic platform definitions and not anything higher level unless absolutely necessary. So this removes some wrapper functions that weren't really necessary in any case. The functions are only used in a few places which themselves are relatively thin wrappers. The "interesting" bit is that we had an `AlertableIoFn` that abstracted over `ReadFileEx` and `WriteFileEx`. I've replaced this with a closure.

Also I removed an `#[allow(unsafe_op_in_unsafe_fn)]` while I was moving things around.
2024-07-24 05:05:34 +02:00
..
backtrace remove redundant imports 2023-12-10 10:56:22 +08:00
collections std: Unsafe-wrap HashMap::get_many_unchecked_mut 2024-07-14 16:49:16 -07:00
env remove redundant imports 2023-12-10 10:56:22 +08:00
error core/any: remove Provider trait 2023-08-13 13:07:53 -06:00
f16 Add classify and related methods for f16 and f128 2024-07-14 18:44:43 -04:00
f32 Extract repeated constants from f32 and f64 source 2024-06-24 00:42:21 -05:00
f64 Extract repeated constants from f32 and f64 source 2024-06-24 00:42:21 -05:00
f128 Add classify and related methods for f16 and f128 2024-07-14 18:44:43 -04:00
ffi std: Unsafe-wrap OSStr{,ing}::from_encoded_bytes_unchecked 2024-07-14 16:59:12 -07:00
fs Avoid ref when using format! for perf 2024-07-19 12:23:49 -04:00
hash Add blank lines after module-level //! comments. 2024-06-20 09:23:20 +10:00
io Avoid ref when using format! for perf 2024-07-19 12:23:49 -04:00
net Replace MaybeUninit::uninit_array() with array repeat expression. 2024-06-24 10:23:50 -07:00
num removed nonfunctioning benchmark 2024-01-11 11:30:12 -05:00
os Rollup merge of #127996 - ian-h-chamberlain:fix/horizon-warnings-unsafe-in-unsafe, r=tgross35 2024-07-22 16:44:06 +08:00
panic
path Rollup merge of #127297 - the8472:path-new-hash, r=Nilstrieb 2024-07-07 14:22:00 +02:00
prelude Avoid comments that describe multiple use items. 2024-07-17 08:02:46 +10:00
process Remove DWORD 2024-07-15 05:01:22 +00:00
sync Rollup merge of #124881 - Sp00ph:reentrant_lock_tid, r=joboet 2024-07-18 18:10:14 +02:00
sys Rollup merge of #128092 - ChrisDenton:wrappers, r=workingjubilee 2024-07-24 05:05:34 +02:00
sys_common std: Unsafe-wrap in Wtf8 impl 2024-07-14 17:44:13 -07:00
thread Rollup merge of #127918 - ChrisDenton:thread-name-string, r=joboet 2024-07-20 07:13:43 +02:00
time
alloc.rs Unify guarantees about the default allocator 2024-06-11 17:13:26 +02:00
ascii.rs
backtrace.rs std: move sys_common::backtrace to sys 2024-06-16 13:14:01 +02:00
env.rs Rollup merge of #125206 - mgeisler:simplify-std-env-vars, r=jhpratt,tgross35 2024-07-16 20:10:09 -05:00
error.rs std: move sys_common::backtrace to sys 2024-06-16 13:14:01 +02:00
f16.rs Add more f16 and f128 library functions and constants 2024-06-25 01:32:36 -04:00
f32.rs variable-precision float operations behave non-deterministically 2024-05-02 18:57:30 +02:00
f64.rs std: removes logarithms family function edge cases handling for solaris. 2024-07-14 23:20:46 +01:00
f128.rs Add more f16 and f128 library functions and constants 2024-06-25 01:32:36 -04:00
fs.rs Rollup merge of #126140 - eduardosm:stabilize-fs_try_exists, r=Amanieu 2024-06-22 19:33:55 +02:00
keyword_docs.rs Mention labelled blocks in break docs 2024-03-15 10:51:57 -07: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 Auto merge of #127153 - NobodyXu:pipe, r=ChrisDenton 2024-07-24 00:03:14 +00:00
macros.rs Document the column numbers for the dbg! macro 2024-07-17 14:10:41 +02:00
num.rs Replace version placeholders for 1.79 2024-05-01 21:01:51 -04:00
panic.rs Use payload_as_str instead of two downcasts. 2024-06-12 13:15:29 +02:00
panicking.rs fix interleaved panic output 2024-07-12 11:52:04 -04:00
pat.rs Add pattern types to parser 2024-04-08 11:57:17 +00:00
path.rs Rollup merge of #127297 - the8472:path-new-hash, r=Nilstrieb 2024-07-07 14:22:00 +02:00
pipe.rs Initial implementation of anonymous_pipe 2024-07-23 23:13:56 +10:00
process.rs Fix minor typos in std::process doc on Win argv 2024-07-13 16:56:25 -07:00
rt.rs Rollup merge of #126776 - nnethercote:rustfmt-use-pre-cleanups-2, r=cuviper 2024-07-16 20:10:10 -05:00
time.rs Rust is a proper name: rust → Rust 2024-03-07 07:49:22 +01:00