From 26abb90fb99ce813fe6c305743de07dec1156de3 Mon Sep 17 00:00:00 2001 From: messense Date: Tue, 13 Dec 2022 14:43:33 +0800 Subject: [PATCH] Disallow uniffi bin bindings It doesn't make sense, only `pyo3` and `rust-cpython` bindings support both extension module and bin --- src/build_options.rs | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/build_options.rs b/src/build_options.rs index 9377c75ba..6dfdb8fec 100644 --- a/src/build_options.rs +++ b/src/build_options.rs @@ -906,7 +906,10 @@ pub fn find_bridge(cargo_metadata: &Metadata, bridge: Option<&str>) -> Result
) -> Result