From 3672cea8767cd2de37a2e68984a391339c4c1872 Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Mon, 17 Aug 2020 10:32:05 -0600 Subject: [PATCH] rust/Cargo: build as rlib for plugin linkage Build Rust code as an rlib, in addition to a staticlib so plugins can link with the Rust code. --- rust/Cargo.toml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/Cargo.toml.in b/rust/Cargo.toml.in index 9a0f8a0150..7e7e1b105f 100644 --- a/rust/Cargo.toml.in +++ b/rust/Cargo.toml.in @@ -4,7 +4,7 @@ version = "@PACKAGE_VERSION@" edition = "2018" [lib] -crate-type = ["staticlib"] +crate-type = ["staticlib", "rlib"] path = "@e_rustdir@/src/lib.rs" [profile.release] -- 2.47.2