]> git.bitcoin.ninja Git - dnssec-prover/commitdiff
Add the standard uniffi-bindgen bin target
authorMatt Corallo <git@bluematt.me>
Sun, 14 Apr 2024 17:41:26 +0000 (17:41 +0000)
committerMatt Corallo <git@bluematt.me>
Sun, 14 Apr 2024 17:41:48 +0000 (17:41 +0000)
uniffi/Cargo.toml
uniffi/uniffi-bindgen.rs [new file with mode: 0644]

index 8a223a8672de51875267ae49143f85165804bb1c..bff333a2c64e22c211ddee52183aef8a95c5f194 100644 (file)
@@ -15,6 +15,10 @@ uniffi = { version = "0.27" }
 [build-dependencies]
 uniffi = { version = "0.27", features = [ "build" ] }
 
+[[bin]]
+name = "uniffi-bindgen"
+path = "uniffi-bindgen.rs"
+
 [lib]
 crate-type = ["cdylib"]
 
diff --git a/uniffi/uniffi-bindgen.rs b/uniffi/uniffi-bindgen.rs
new file mode 100644 (file)
index 0000000..2aea967
--- /dev/null
@@ -0,0 +1,3 @@
+fn main() {
+       uniffi::uniffi_bindgen_main()
+}