Fix cargo test workflow

This commit is contained in:
thunderbiscuit
2023-02-28 11:55:29 -05:00
parent 25617d1f23
commit 44b2ef1382
4 changed files with 9 additions and 9 deletions

View File

@@ -6,7 +6,8 @@ edition = "2018"
license = "MIT OR Apache-2.0"
[lib]
crate-type = ["staticlib", "cdylib"]
crate-type = ["lib", "staticlib", "cdylib"]
#crate-type = ["staticlib", "cdylib"]
name = "bdkffi"
[[bin]]
@@ -21,4 +22,5 @@ uniffi = { version = "0.23.0" }
uniffi = { version = "0.23.0", features = ["build"] }
[dev-dependencies]
uniffi = { version = "0.23.0", features = ["bindgen-tests"] }
assert_matches = "1.5.0"

View File

@@ -1,8 +1,5 @@
uniffi_macros::build_foreign_language_testcases!(
["src/bdk.udl",],
[
"tests/bindings/test.kts",
"tests/bindings/test.swift",
"tests/bindings/test.py"
]
uniffi::build_foreign_language_testcases!(
"tests/bindings/test.kts",
"tests/bindings/test.swift",
"tests/bindings/test.py",
);