rust/library/std/src
Matthias Krüger b2d6480f53
Rollup merge of #118060 - ChrisDenton:abs-device-path, r=thomcc
Use an absolute path to the NUL device

While a bare "NUL" *should* be redirected to the NUL device, especially in this simple case, let's be explicit that we aren't opening a file called "NUL" and instead open it directly.

This will also set a good example for people copying std code.

r? libs
2023-11-24 08:23:53 +01:00
..
backtrace Implement UnwindSafe and RefUnwindSafe for Backtrace 2023-07-31 10:38:24 +02:00
collections Add insta-stable std:#️⃣:{DefaultHasher, RandomState} exports 2023-11-02 20:35:20 -04:00
env Better Debug for Vars and VarsOs 2023-08-07 12:18:27 -04:00
error core/any: remove Provider trait 2023-08-13 13:07:53 -06:00
f32 Add gamma and ln_gamma functions to f32 and f64 2023-07-31 07:41:50 -07:00
f64 Add gamma and ln_gamma functions to f32 and f64 2023-07-31 07:41:50 -07:00
ffi Bump version placeholders 2023-10-03 20:26:36 -04:00
fs Add support for pre-unix-epoch file dates on Apple platforms (#108277) 2023-10-31 17:00:59 +01:00
hash Add insta-stable std:#️⃣:{DefaultHasher, RandomState} exports 2023-11-02 20:35:20 -04:00
io Rollup merge of #116807 - seanlinsley:patch-2, r=thomcc 2023-11-24 08:23:51 +01:00
net Auto merge of #105394 - Patiga:improve-udpsocket-docs, r=workingjubilee 2023-10-03 20:35:38 +00:00
num rustc_expand: Mark inner #![test] attributes as soft-unstable 2020-11-20 19:35:03 +03:00
os Fix tracking issue of Windows ExitCodeExt 2023-11-23 11:16:10 -08:00
panic review: fix nits and move panic safety tests to the correct place 2020-09-25 23:10:24 +02:00
path Move RandomState and DefaultHasher into std::hash, but don't export for now 2023-11-02 20:35:20 -04:00
prelude correct std::prelude comment 2023-04-27 15:56:57 +02:00
process Rollup merge of #114379 - RalfJung:command-removed-env-vars, r=m-ou-se 2023-09-22 12:15:25 +02:00
sync Add T: ?Sized to RwLock*Guards' Debug impls. 2023-10-24 14:46:27 -05:00
sys Rollup merge of #118060 - ChrisDenton:abs-device-path, r=thomcc 2023-11-24 08:23:53 +01:00
sys_common Auto merge of #117895 - mzohreva:mz/fix-sgx-backtrace, r=Mark-Simulacrum 2023-11-19 03:00:18 +00:00
thread Bump cfg(bootstrap)s 2023-11-15 19:41:28 -05:00
time Rollup merge of #103056 - beetrees:timespec-bug-fix, r=thomcc 2023-05-05 18:40:32 +05:30
alloc.rs Correct and expand documentation of handle_alloc_error and set_alloc_error_hook. 2023-08-19 13:27:03 -07:00
ascii.rs Add the basic ascii::Char type 2023-05-03 22:09:33 -07:00
backtrace.rs Move SGX-specific image base logic to sys_common 2023-11-14 13:27:57 -08:00
env.rs add a csky-unknown-linux-gnuabiv2 target 2023-08-14 23:02:36 +08:00
error.rs Expose core::error::request_value in std 2023-08-18 13:06:53 -04:00
f32.rs Rollup merge of #114754 - workingjubilee:gamma-ray-logger, r=thomcc 2023-08-25 09:00:12 +02:00
f64.rs Rollup merge of #114754 - workingjubilee:gamma-ray-logger, r=thomcc 2023-08-25 09:00:12 +02:00
fs.rs Substitute version placeholders 2023-11-15 19:40:51 -05:00
keyword_docs.rs docs: Add example, reference link for type keyword. 2023-08-21 20:00:43 +07:00
lib.rs Bump cfg(bootstrap)s 2023-11-15 19:41:28 -05:00
macros.rs print macros: add xrefs to format syntax documentation 2023-08-28 11:51:41 +02:00
num.rs Bump version placeholders 2023-10-03 20:26:36 -04:00
panic.rs Shorten lifetime of even more panic temporaries 2023-05-15 03:47:37 -07:00
panicking.rs Increase the reach of panic_immediate_abort 2023-10-29 09:31:07 -04:00
path.rs fix(std): Rename os_str_bytes to encoded_bytes 2023-09-01 19:33:16 -05:00
process.rs Substitute version placeholders 2023-11-15 19:40:51 -05:00
rt.rs Automatically enable cross-crate inlining for small functions 2023-10-17 19:53:51 -04:00
time.rs Auto merge of #116238 - tamird:gettimeofday, r=thomcc 2023-10-24 04:15:39 +00:00