Currently, if I want a custom name for my cdylib, I need to do
[lib]
name = "mylib"
crate-type = ["cdylib", "lib"]
but then my_lib
will also be the name of the lib
, which I need to be another thing. Is there a way to customize the name for the cdylib only?
The problem is that on the integration tests I end up having to import using the lib
name, but this is also being setted to the name I used in cdylib, which has to have another name