rust/library/std/src
bors 7b18b3eb6d Auto merge of #129019 - kromych:master, r=workingjubilee
Break into the debugger (if attached) on panics (Windows, Linux, macOS, FreeBSD)

The developer experience for panics is to provide the backtrace and
exit the program. When running under debugger, that might be improved
by breaking into the debugger once the code panics thus enabling
the developer to examine the program state at the exact time when
the code panicked.

Let the developer catch the panic in the debugger if it is attached.
If the debugger is not attached, nothing changes. Providing this feature
inside the standard library facilitates better debugging experience.

Validated under Windows, Linux, macOS 14.6, and FreeBSD 13.3..14.1.
2024-09-08 10:28:26 +00:00
..
backtrace remove redundant imports 2023-12-10 10:56:22 +08:00
collections Reformat use declarations. 2024-07-29 08:26:52 +10: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 Reformat use declarations. 2024-07-29 08:26:52 +10:00
f64 Reformat use declarations. 2024-07-29 08:26:52 +10:00
f128 Add core functions for f16 and f128 that require math routines 2024-08-01 15:38:53 -04:00
ffi fix: correct {Path,OsStr}::to_string_lossy() docs 2024-09-05 00:48:00 +09:00
fs Reformat use declarations. 2024-07-29 08:26:52 +10:00
hash Reformat use declarations. 2024-07-29 08:26:52 +10:00
io Rollup merge of #129804 - ranger-ross:fixed-documentation-typos, r=Noratrieb 2024-09-02 04:19:29 +02:00
net Reformat use declarations. 2024-07-29 08:26:52 +10:00
num removed nonfunctioning benchmark 2024-01-11 11:30:12 -05:00
os Auto merge of #129941 - BoxyUwU:bump-boostrap, r=albertlarsan68 2024-09-07 20:37:30 +00:00
panic review: fix nits and move panic safety tests to the correct place 2020-09-25 23:10:24 +02:00
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 use declarations. 2024-07-29 08:26:52 +10:00
sync Adjust doc comment of Condvar::wait_while 2024-09-06 13:36:09 +02:00
sys Auto merge of #129019 - kromych:master, r=workingjubilee 2024-09-08 10:28:26 +00:00
sys_common Rollup merge of #127623 - lolbinarycat:fix_remove_dir_all, r=Amanieu 2024-08-23 06:26:51 +02:00
thread replace placeholder version 2024-09-03 20:54:02 +01:00
time Reformat use declarations. 2024-07-29 08:26:52 +10:00
alloc.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
ascii.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
backtrace.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
env.rs update cfgs 2024-09-05 17:24:01 +01:00
error.rs chore: refactor backtrace formatting 2024-08-02 00:24:29 +09:00
f16.rs copysign with sign being a NaN is non-portable 2024-08-28 12:06:28 +02:00
f32.rs copysign with sign being a NaN is non-portable 2024-08-28 12:06:28 +02:00
f64.rs copysign with sign being a NaN is non-portable 2024-08-28 12:06:28 +02:00
f128.rs copysign with sign being a NaN is non-portable 2024-08-28 12:06:28 +02:00
fs.rs fix: fs::remove_dir_all: treat ENOENT as success 2024-08-22 14:18:42 -04: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 update cfgs 2024-09-05 17:24:01 +01:00
macros.rs Add math functions for f16 and f128 2024-08-01 15:38:51 -04:00
num.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
panic.rs std: do not overwrite style in get_backtrace_style 2024-08-12 10:08:56 +02:00
panicking.rs Auto merge of #129019 - kromych:master, r=workingjubilee 2024-09-08 10:28:26 +00:00
pat.rs Add pattern types to parser 2024-04-08 11:57:17 +00:00
path.rs fix: correct {Path,OsStr}::to_string_lossy() docs 2024-09-05 00:48:00 +09:00
pipe.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
process.rs process.rs: remove "Basic usage" text where not useful 2024-09-02 22:36:25 +02:00
rt.rs Fixed some typos in the standard library documentation/comments 2024-08-31 14:41:01 +09:00
time.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00