summaryrefslogtreecommitdiff
path: root/arch/msp430/src
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2024-10-19 20:53:10 -0400
committerMason Reed <mason@vector35.com>2024-11-04 19:43:26 -0500
commit62f2dd7c6c89ca44f2096f535962b63f26f57730 (patch)
tree01e2eb165809fc2a653680281a6879f8e6f02d65 /arch/msp430/src
parent8609cc98bad6926d7ca94f10112b315d5d820ee0 (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 'arch/msp430/src')
-rw-r--r--arch/msp430/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/msp430/src/lib.rs b/arch/msp430/src/lib.rs
index 2e16d5d2..fd8af7a7 100644
--- a/arch/msp430/src/lib.rs
+++ b/arch/msp430/src/lib.rs
@@ -14,7 +14,7 @@ use architecture::Msp430;
#[no_mangle]
#[allow(non_snake_case)]
pub extern "C" fn CorePluginInit() -> bool {
- binaryninja::logger::init(log::LevelFilter::Info).unwrap();
+ binaryninja::logger::init(log::LevelFilter::Info);
let arch = binaryninja::architecture::register_architecture(
"msp430",
|custom_handle, handle| Msp430::new(handle, custom_handle),