Skip to content

Commit 3bac5c8

Browse files
committed
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
1 parent 159a63c commit 3bac5c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

regex-capi/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ edition = "2018"
1515

1616
[lib]
1717
name = "rure"
18-
crate-type = ["staticlib", "cdylib"]
18+
crate-type = ["staticlib", "cdylib", "rlib"]
1919

2020
[dependencies]
2121
libc = "0.2"

0 commit comments

Comments
 (0)