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.
pull/5356/head
Jason Ish 6 years ago committed by Victor Julien
parent 17776e098e
commit 3672cea876

@ -4,7 +4,7 @@ version = "@PACKAGE_VERSION@"
edition = "2018" edition = "2018"
[lib] [lib]
crate-type = ["staticlib"] crate-type = ["staticlib", "rlib"]
path = "@e_rustdir@/src/lib.rs" path = "@e_rustdir@/src/lib.rs"
[profile.release] [profile.release]

Loading…
Cancel
Save