From 3bac5c8075823d58b54a8e0773d4b92b95528ac9 Mon Sep 17 00:00:00 2001 From: Andrew Gallant Date: Wed, 5 Oct 2022 10:53:46 -0400 Subject: [PATCH] capi: add 'rlib' crate type I didn't realize this was a useful build output for a C library, but I guess it is. Namely, it permits it to be built with other rlibs into one giant single shared library. Fixes #909 --- regex-capi/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regex-capi/Cargo.toml b/regex-capi/Cargo.toml index bb8a1517e..826da44a5 100644 --- a/regex-capi/Cargo.toml +++ b/regex-capi/Cargo.toml @@ -15,7 +15,7 @@ edition = "2018" [lib] name = "rure" -crate-type = ["staticlib", "cdylib"] +crate-type = ["staticlib", "cdylib", "rlib"] [dependencies] libc = "0.2"