diff options
| author | Mason Reed <mason@vector35.com> | 2024-10-19 20:53:10 -0400 |
|---|---|---|
| committer | Mason Reed <mason@vector35.com> | 2024-11-04 19:43:26 -0500 |
| commit | 62f2dd7c6c89ca44f2096f535962b63f26f57730 (patch) | |
| tree | 01e2eb165809fc2a653680281a6879f8e6f02d65 /rust/examples/dwarf/dwarf_export/src | |
| parent | 8609cc98bad6926d7ca94f10112b315d5d820ee0 (diff) | |
Remove ability to panic on pre-initialized logger in rust
Typically this would never occur, however due to the mystical nature of linkers this somehow has happened outside of demo builds
Diffstat (limited to 'rust/examples/dwarf/dwarf_export/src')
| -rw-r--r-- | rust/examples/dwarf/dwarf_export/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/examples/dwarf/dwarf_export/src/lib.rs b/rust/examples/dwarf/dwarf_export/src/lib.rs index 057abe27..05592f5f 100644 --- a/rust/examples/dwarf/dwarf_export/src/lib.rs +++ b/rust/examples/dwarf/dwarf_export/src/lib.rs @@ -781,7 +781,7 @@ impl Command for MyCommand { #[no_mangle] pub extern "C" fn CorePluginInit() -> bool { - init(LevelFilter::Debug).expect("Unable to initialize logger"); + init(LevelFilter::Debug); register( "Export as DWARF", |
