rust/library/std/src
Christopher Berner d2cdc76256 Implement file_lock feature
This adds lock(), lock_shared(), try_lock(), try_lock_shared(), and
unlock() to File gated behind the file_lock feature flag
2024-10-13 16:16:58 -07:00
..
backtrace remove redundant imports 2023-12-10 10:56:22 +08:00
collections Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
env remove redundant imports 2023-12-10 10:56:22 +08:00
error Reformat use declarations. 2024-07-29 08:26:52 +10:00
f16 std float tests: special-case Miri in feature detection 2024-08-08 12:17:50 +02:00
f32 these tests seem to work fine on i586 these days 2024-09-10 15:57:40 -07:00
f64 these tests seem to work fine on i586 these days 2024-09-10 15:57:40 -07:00
f128 Add core functions for f16 and f128 that require math routines 2024-08-01 15:38:53 -04:00
ffi Use &raw in the standard library 2024-09-25 17:03:20 -07:00
fs Implement file_lock feature 2024-10-13 16:16:58 -07:00
hash std: implement the random feature 2024-09-23 10:29:51 +02:00
io Rollup merge of #125404 - a1phyr:fix-read_buf-uses, r=workingjubilee 2024-09-28 09:35:08 +02:00
net Reference UNSPECIFIED instead of INADDR_ANY in join_multicast_v4 2024-09-27 10:05:52 +02:00
num removed nonfunctioning benchmark 2024-01-11 11:30:12 -05:00
os Rollup merge of #130861 - cuviper:sun-path-offset, r=ibraheemdev 2024-09-27 00:43:33 +02:00
panic
path impl CloneToUninit for Path and OsStr 2024-07-29 20:44:39 +03:00
pipe Cleanup sys module to match house style 2024-07-30 19:22:54 +00:00
prelude Avoid comments that describe multiple use items. 2024-07-17 08:02:46 +10:00
process Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
sync Use &raw in the standard library 2024-09-25 17:03:20 -07:00
sys Implement file_lock feature 2024-10-13 16:16:58 -07:00
sys_common Use &raw in the standard library 2024-09-25 17:03:20 -07:00
thread Use &raw in the standard library 2024-09-25 17:03:20 -07:00
time Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
alloc.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
ascii.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
backtrace.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
env.rs Rollup merge of #128535 - mmvanheusden:master, r=workingjubilee 2024-09-17 17:28:31 +02:00
error.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
f16.rs copysign with sign being a NaN is non-portable 2024-08-28 12:06:28 +02:00
f32.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
f64.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
f128.rs copysign with sign being a NaN is non-portable 2024-08-28 12:06:28 +02:00
fs.rs Implement file_lock feature 2024-10-13 16:16:58 -07:00
keyword_docs.rs Trivial grammar fix in const keyword docs 2024-08-06 21:59:04 -05: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 Pre-allocate buffers in File::open_buffered and create_buffered 2024-09-24 13:33:31 -07:00
macros.rs Add math functions for f16 and f128 2024-08-01 15:38:51 -04:00
num.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
panic.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
panicking.rs Rollup merge of #130846 - ChrisDenton:revert-break, r=Noratrieb 2024-09-26 22:20:54 -07:00
pat.rs Add pattern types to parser 2024-04-08 11:57:17 +00:00
path.rs Use &raw in the standard library 2024-09-25 17:03:20 -07:00
pipe.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
process.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
random.rs add link from random() helper fn to extensive DefaultRandomSource docs 2024-09-25 08:25:36 +02:00
rt.rs Fixed some typos in the standard library documentation/comments 2024-08-31 14:41:01 +09:00
time.rs [Clippy] Swap instant_subtraction to use diagnostic item instead of path 2024-09-19 13:13:42 +01:00