From b18bdad6c94a8e234108d531f0c480c7104abebe Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Sun, 22 Feb 2026 17:08:21 -0800 Subject: [Rust] Misc documentation and cleanup --- rust/tests/collaboration.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'rust/tests/collaboration.rs') diff --git a/rust/tests/collaboration.rs b/rust/tests/collaboration.rs index 529e185b..914935b5 100644 --- a/rust/tests/collaboration.rs +++ b/rust/tests/collaboration.rs @@ -1,5 +1,6 @@ use binaryninja::binary_view::BinaryViewExt; use binaryninja::collaboration::{NoNameChangeset, Remote, RemoteFileType, RemoteProject}; +use binaryninja::file_metadata::SaveSettings; use binaryninja::headless::Session; use binaryninja::rc::Ref; use binaryninja::symbol::{SymbolBuilder, SymbolType}; @@ -7,7 +8,6 @@ use rstest::*; use serial_test::serial; use std::env; use std::path::PathBuf; - // TODO: Why cant we create_project for the same project name? why does that fail. // TODO: Remote connection / disconnection is NOT thread safe, the core needs to lock on each. // TODO: Because of this we run these tests serially, this isnt _really_ an issue for real code, as @@ -182,7 +182,8 @@ fn test_project_sync() { let view_type = view.view_type(); // Save the view to local database so that we can upload it assert!( - view.file().create_database(out_dir.join("atox.obj.bndb")), + view.file() + .create_database(out_dir.join("atox.obj.bndb"), &SaveSettings::new()), "Failed to create local database" ); // We should have a single snapshot. -- cgit v1.3.1