From 321c8ed8ab0ae673f5026ef43174e6ae666838ee Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Sun, 14 Apr 2024 17:41:26 +0000 Subject: [PATCH] Add the standard uniffi-bindgen bin target --- uniffi/Cargo.toml | 4 ++++ uniffi/uniffi-bindgen.rs | 3 +++ 2 files changed, 7 insertions(+) create mode 100644 uniffi/uniffi-bindgen.rs diff --git a/uniffi/Cargo.toml b/uniffi/Cargo.toml index 8a223a8..bff333a 100644 --- a/uniffi/Cargo.toml +++ b/uniffi/Cargo.toml @@ -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 index 0000000..2aea967 --- /dev/null +++ b/uniffi/uniffi-bindgen.rs @@ -0,0 +1,3 @@ +fn main() { + uniffi::uniffi_bindgen_main() +} -- 2.39.5