diff options
| author | The Miri Conjob Bot <miri@cron.bot> | 2023-07-30 05:43:01 +0000 |
|---|---|---|
| committer | The Miri Conjob Bot <miri@cron.bot> | 2023-07-30 05:43:01 +0000 |
| commit | 16816aa8590dca2759d7b86c7dd6c41f060be98c (patch) | |
| tree | b1d951635115e2fadd209b9450e76bb7afbf1af6 /library/std/src | |
| parent | 8ddc72eca4bbb6412639cd52db5d51b9840f3011 (diff) | |
| parent | dce7e87b1646fd5f4f7908fcd0aa1060c5189d44 (diff) | |
| download | rust-16816aa8590dca2759d7b86c7dd6c41f060be98c.tar.gz rust-16816aa8590dca2759d7b86c7dd6c41f060be98c.zip | |
Merge from rustc
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/panicking.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/panicking.rs b/library/std/src/panicking.rs index 0e90d618ad4..15285465c71 100644 --- a/library/std/src/panicking.rs +++ b/library/std/src/panicking.rs @@ -300,7 +300,7 @@ pub fn panic_hook_with_disk_dump(info: &PanicInfo<'_>, path: Option<&crate::path }; if let Some(path) = path - && let Ok(mut out) = crate::fs::File::options().create(true).write(true).open(&path) + && let Ok(mut out) = crate::fs::File::options().create(true).append(true).open(&path) { write(&mut out, BacktraceStyle::full()); } |
