rust/library/std/src
Stuart Cook 98f6887f35
Rollup merge of #145209 - hanna-kruppe:path_add_extension, r=tgross35
Stabilize `path_add_extension`

FCP in tracking issue rust-lang/rust#127292 finished in January. There was more discussion since then, but [libs-api decided to match `set_extension`][0] by keeping the return type as-is and adding a panic for invalid extensions. The latter was implemented in rust-lang/rust#140163, so this feature should be ready for stabilization. But if anyone's unsure, another FCP could be done to confirm.

Closes rust-lang/rust#127292

[0]: https://github.com/rust-lang/rust/issues/127292#issuecomment-2605197960
2025-09-04 10:01:52 +10:00
..
backtrace remove redundant imports 2023-12-10 10:56:22 +08:00
collections remove deprecated Error::description in impls 2025-08-26 06:36:53 +00:00
ffi Constify conversion traits 2025-09-01 21:38:26 -04:00
fs Rollup merge of #140459 - niklasf:feature/read-buf-at, r=tgross35 2025-09-04 10:01:51 +10:00
hash remove const_hash feature leftovers 2024-11-02 11:27:14 +01:00
io remove deprecated Error::description in impls 2025-08-26 06:36:53 +00:00
net Set MSG_NOSIGNAL for UnixSteam 2025-06-16 09:15:17 +02:00
num Revert "Rollup merge of #143906 - LorrensP-2158466:miri-float-nondet-foreign-items, r=RalfJung" 2025-08-08 19:16:48 +02:00
os Rollup merge of #140459 - niklasf:feature/read-buf-at, r=tgross35 2025-09-04 10:01:51 +10:00
prelude Make derive_const usable within libcore again 2025-07-17 15:42:54 +00:00
process std: Apply deprecated_safe_2024 2025-02-13 13:10:28 -08:00
sync Rollup merge of #144651 - connortsui20:nonpoison_condvar, r=joboet 2025-08-30 20:29:06 +10:00
sys Rollup merge of #140459 - niklasf:feature/read-buf-at, r=tgross35 2025-09-04 10:01:51 +10:00
sys_common Move WTF-8 code from std to core/alloc 2025-08-20 20:31:33 -04:00
thread Tweak wording again 2025-08-19 19:05:19 -04:00
alloc.rs Make __rust_alloc_error_handler_should_panic a function 2025-07-03 10:52:21 -07:00
ascii.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
backtrace.rs use generic Atomic type where possible 2025-04-27 02:18:08 +03:00
bstr.rs Implement ByteStr and ByteString types 2025-01-11 06:35:21 +02:00
env.rs remove deprecated Error::description in impls 2025-08-26 06:36:53 +00:00
error.rs Move std::error unit tests to integration tests 2025-01-26 10:28:04 +00:00
fs.rs Rollup merge of #144964 - 0xdeafbeef:fix-open-options, r=ibraheemdev 2025-08-30 18:49:48 -05:00
keyword_docs.rs unsafe keyword docs: emphasize that an unsafe fn in a trait does not get to choose its safety contract 2025-06-06 22:34:10 +02: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 Add read_buf equivalents for positioned reads 2025-09-03 20:43:38 +02:00
macros.rs feat: implement hash_map! macro 2025-08-02 01:32:52 +02:00
panic.rs Link to payload_as_str() from payload(). 2025-08-12 12:50:48 +02:00
panicking.rs improve process::abort rendering in Miri backtraces 2025-09-02 12:19:06 +02:00
pat.rs Add pattern types to parser 2024-04-08 11:57:17 +00:00
path.rs Rollup merge of #145209 - hanna-kruppe:path_add_extension, r=tgross35 2025-09-04 10:01:52 +10:00
process.rs improve process::abort rendering in Miri backtraces 2025-09-02 12:19:06 +02:00
random.rs random: Provide a Distribution<T> trait 2025-07-11 10:21:34 -07:00
rt.rs deduplicate abort implementations 2025-05-15 11:20:13 +02:00
test_helpers.rs std: get rid of sys_common::io 2025-02-07 16:54:07 +01:00
time.rs remove deprecated Error::description in impls 2025-08-26 06:36:53 +00:00