Improve panic messaging and process behavior.

- Replaced main() to use custom panic hook
- Updated log formatting
- Switched to panic=abort, since we don't need to unwind now.
- Process will now abort if any thread panics.
This commit is contained in:
Lucien Greathouse
2020-03-12 15:42:56 -07:00
parent fe0ca280a1
commit eb8964e1d1
4 changed files with 84 additions and 48 deletions

View File

@@ -15,6 +15,12 @@ exclude = [
"/test-projects/**",
]
[profile.dev]
panic = "abort"
[profile.release]
panic = "abort"
[features]
default = []
@@ -56,6 +62,7 @@ harness = false
[dependencies]
memofs = { version = "0.1.0", path = "memofs" }
backtrace = "0.3"
crossbeam-channel = "0.4.0"
csv = "1.1.1"