rust/library/std/src
bors 9050733395 Auto merge of #148020 - bjorn3:oom_backtrace, r=Mark-Simulacrum
Show backtrace on allocation failures when possible

And if an allocation while printing the backtrace fails, don't try to print another backtrace as that will never succeed.

Split out of https://github.com/rust-lang/rust/pull/147725 to allow landing this independently of a decision whether or not to remove `-Zoom=panic`.
2025-11-28 12:27:33 +00:00
..
backtrace remove redundant imports 2023-12-10 10:56:22 +08:00
collections Rollup merge of #149204 - winningMove:patch-1, r=chenyukang 2025-11-22 18:41:25 +01:00
ffi Implement some conversions using Box::clone_from_ref 2025-11-19 13:34:03 -06:00
fs test: Use an ignore message for fs Android skips 2025-11-19 16:29:48 -06:00
hash remove const_hash feature leftovers 2024-11-02 11:27:14 +01:00
io std: move kernel_copy to sys 2025-11-17 17:44:21 +01:00
net Rollup merge of #146937 - joboet:gethostname, r=Mark-Simulacrum 2025-09-29 21:42:41 +02:00
num Expand pow docs with special-case tests 2025-11-10 14:56:05 +09:00
os Document Error::{new,other} as to be avoided in pre_exec 2025-11-15 12:30:16 +03:00
prelude Make derive_const usable within libcore again 2025-07-17 15:42:54 +00:00
process Fix test suite in iOS/tvOS/watchOS/visionOS simulator 2025-09-19 13:55:03 +02:00
sync Add #[rustc_should_not_be_called_on_const_items] to std methods 2025-11-22 14:48:35 +01:00
sys Auto merge of #148020 - bjorn3:oom_backtrace, r=Mark-Simulacrum 2025-11-28 12:27:33 +00:00
sys_common Implement Debug for EncodeWide 2025-09-16 13:11:34 -06:00
thread add link to Builder (code review improvement) 2025-10-16 09:07:57 -04:00
alloc.rs Show backtrace on allocation failures when possible 2025-11-26 14:02:37 +00:00
ascii.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
backtrace.rs Fix new function_casts_as_integer lint errors in core, std, panic_unwind and compiler crates 2025-11-10 16:38:28 +01:00
bstr.rs Implement ByteStr and ByteString types 2025-01-11 06:35:21 +02:00
env.rs Fix missing double-quote in std::env::consts::OS values 2025-11-24 18:02:24 +01:00
error.rs Move std::error unit tests to integration tests 2025-01-26 10:28:04 +00:00
fs.rs Add missing trailing period to RustDoc for fn create_dir(). 2025-11-19 11:03:00 +01:00
keyword_docs.rs Document fully-qualified syntax in as' keyword doc 2025-10-03 17:31:55 +03: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 Rollup merge of #148048 - thaliaarchi:stabilize-maybeuninit-write-slice, r=Mark-Simulacrum 2025-11-27 12:36:48 +11:00
macros.rs Revert "feat: implement hash_map! macro" 2025-10-23 12:37:53 -07:00
panic.rs Update CURRENT_RUSTC_VERSION post-bump 2025-09-26 18:41:32 -04:00
panicking.rs Show backtrace on allocation failures when possible 2025-11-26 14:02:37 +00:00
pat.rs Add pattern types to parser 2024-04-08 11:57:17 +00:00
path.rs Implement some conversions using Box::clone_from_ref 2025-11-19 13:34:03 -06:00
process.rs Add Command::get_env_clear 2025-11-18 19:37:52 -06:00
random.rs random: Provide a Distribution<T> trait 2025-07-11 10:21:34 -07:00
rt.rs Change the cfg to a dash 2025-09-21 13:12:20 -04:00
test_helpers.rs std: get rid of sys_common::io 2025-02-07 16:54:07 +01:00
time.rs Fix documentation of Instant::now on mac 2025-10-10 20:01:03 +01:00