Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Address review comment in docs
  • Loading branch information
TheTechRobo authored Aug 18, 2022
commit 407cc8437ecd292241672ea358baa21037166121
25 changes: 16 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Thank you kindly!
The error dump file generated by `human-panic` contains the following fields.

```toml
name = 'single-panic-test'
name = 'single-panic-test2'
operating_system = 'Debian (11) (64-bit)'
crate_version = '0.1.0'
explanation = '''
Expand All @@ -59,10 +59,10 @@ cause = 'OMG EVERYTHING IS ON FIRE!!!'
method = 'Panic'
backtrace = '''

0: 0x5653024632af - single_panic_test::main::he5bb913b8d0d66af
1: 0x565302462623 - std::sys_common::backtrace::__rust_begin_short_backtrace::hd30268eb783a3896
2: 0x5653024625f9 - std::rt::lang_start::{{closure}}::h13e747e3f66b7484
3: 0x5653024ab7da - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h02e5de65baee3e0a
0: 0x55f1b1ed42af - single_panic_test2::main::h71eb4bc2300956b7
1: 0x55f1b1ed3623 - std::sys_common::backtrace::__rust_begin_short_backtrace::hb897a2290e3a3ed8
2: 0x55f1b1ed35f9 - std::rt::lang_start::{{closure}}::h4a4f0688fcbbe2a8
3: 0x55f1b1f1cf3a - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h02e5de65baee3e0a
at /rustc/d394408fb38c4de61f765a3ed5189d2731a1da91/library/core/src/ops/function.rs:280
- std::panicking::try::do_call::h928f62916d7b4bf7
at /rustc/d394408fb38c4de61f765a3ed5189d2731a1da91/library/std/src/panicking.rs:492
Expand All @@ -80,12 +80,19 @@ backtrace = '''
at /rustc/d394408fb38c4de61f765a3ed5189d2731a1da91/library/std/src/panic.rs:137
- std::rt::lang_start_internal::h498f9556b87c8e5f
at /rustc/d394408fb38c4de61f765a3ed5189d2731a1da91/library/std/src/rt.rs:128
4: 0x565302463ed2 - main
5: 0x7f0d6200cd0a - __libc_start_main
4: 0x55f1b1ed4ed2 - main
5: 0x7feeb3c40d0a - __libc_start_main
at ./csu/../csu/libc-start.c:308
6: 0x565302460b3a - _start
6: 0x55f1b1ed1b3a - _start
7: 0x0 - <unresolved>'''
cargo_version = 'cargo 1.65.0-nightly (4fd148c47 2022-08-03)'
rustc_version = '''
rustc 1.65.0-nightly (d394408fb 2022-08-07)
binary: rustc
commit-hash: d394408fb38c4de61f765a3ed5189d2731a1da91
commit-date: 2022-08-07
host: x86_64-unknown-linux-gnu
release: 1.65.0-nightly
LLVM version: 14.0.6'''
```

## Usage
Expand Down