summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Taylor <alex@vector35.com>2024-08-22 18:51:13 -0400
committerAlexander Taylor <alex@vector35.com>2024-08-22 19:35:30 -0400
commitef3a2af2485e7d61cda8f5a4af7ecfdf6ae6297f (patch)
tree31961be6df0f09d4befa24e062f69ef162fcd370
parent3fddedcf5f7080239cc699990a27ab7ca5cffb74 (diff)
Fix MSP430 dependencies.
-rw-r--r--arch/msp430/Cargo.lock2
-rw-r--r--arch/msp430/Cargo.toml13
2 files changed, 9 insertions, 6 deletions
diff --git a/arch/msp430/Cargo.lock b/arch/msp430/Cargo.lock
index 6f1b4c37..662988fa 100644
--- a/arch/msp430/Cargo.lock
+++ b/arch/msp430/Cargo.lock
@@ -23,7 +23,6 @@ dependencies = [
[[package]]
name = "binaryninja"
version = "0.1.0"
-source = "git+https://github.com/Vector35/binaryninja-api.git?branch=dev#46b26cf9f4a8eee8e94f86532220e61120c2a54d"
dependencies = [
"binaryninjacore-sys",
"lazy_static",
@@ -34,7 +33,6 @@ dependencies = [
[[package]]
name = "binaryninjacore-sys"
version = "0.1.0"
-source = "git+https://github.com/Vector35/binaryninja-api.git?branch=dev#46b26cf9f4a8eee8e94f86532220e61120c2a54d"
dependencies = [
"bindgen",
]
diff --git a/arch/msp430/Cargo.toml b/arch/msp430/Cargo.toml
index ce849cb0..d97b8fc8 100644
--- a/arch/msp430/Cargo.toml
+++ b/arch/msp430/Cargo.toml
@@ -4,10 +4,15 @@ version = "0.1.0"
authors = ["jrozner"]
edition = "2021"
+[dependencies]
+binaryninja = { path = "../../rust" }
+log = "0.4"
+msp430-asm = "^0.2"
+
[lib]
crate-type = ["cdylib"]
-[dependencies]
-binaryninja = { git = "https://github.com/Vector35/binaryninja-api.git", branch = "dev" }
-log = "0.4.14"
-msp430-asm = "^0.2"
+[profile.release]
+panic = "abort"
+lto = true
+debug = 1