Skip to content

Commit 36f9f30

Browse files
committed
fix stable build for 5.1
1 parent 1f0d13f commit 36f9f30

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ binary-search = "0.1.2"
2626
# Dev
2727
# binaryninja = { git = "https://github.com/Vector35/binaryninja-api", branch = "dev" }
2828
# Stable
29-
binaryninja = { git = "https://github.com/Vector35/binaryninja-api", tag = "v5.0.7486-stable" }
29+
binaryninja = { git = "https://github.com/Vector35/binaryninja-api", tag = "stable/5.1.8005" }

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -824,7 +824,7 @@ fn register_settings() {
824824
"#
825825
);
826826

827-
settings.register_setting_json(name, properties);
827+
settings.register_setting_json(name, &properties);
828828
}
829829

830830
fn register_enum_setting<T>(settings: &Settings, name: &str, title: &str, description: &str)
@@ -853,7 +853,7 @@ fn register_settings() {
853853
serde_json::to_string(&enum_descriptions).unwrap()
854854
);
855855

856-
settings.register_setting_json(name, properties);
856+
settings.register_setting_json(name, &properties);
857857
}
858858

859859
let settings = Settings::new();

0 commit comments

Comments
 (0)