Skip to content

Commit

Permalink
capi: add 'rlib' crate type
Browse files Browse the repository at this point in the history
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
  • Loading branch information
BurntSushi committed Oct 5, 2022
1 parent 159a63c commit 3bac5c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion regex-capi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ edition = "2018"

[lib]
name = "rure"
crate-type = ["staticlib", "cdylib"]
crate-type = ["staticlib", "cdylib", "rlib"]

[dependencies]
libc = "0.2"
Expand Down

0 comments on commit 3bac5c8

Please sign in to comment.