From ff58143ff7794d7251f9182294dd25bd4cbe15eb Mon Sep 17 00:00:00 2001 From: Josh Ferrell Date: Thu, 29 Jan 2026 13:04:16 -0500 Subject: [Rust API] Fix load_view_with_progress when options is None --- rust/src/lib.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'rust/src') diff --git a/rust/src/lib.rs b/rust/src/lib.rs index 10719f9a..084d8a96 100644 --- a/rust/src/lib.rs +++ b/rust/src/lib.rs @@ -252,11 +252,7 @@ where .to_bytes_with_nul() .to_vec() } else { - Metadata::new_of_type(MetadataType::KeyValueDataType) - .get_json_string() - .ok()? - .as_ref() - .to_vec() + "{}".to_cstr().to_bytes_with_nul().to_vec() }; let handle = unsafe { BNLoadBinaryView( -- cgit v1.3.1