Closed Boscop closed 6 years ago
Thanks for the idea! What’s the most benefit from using cdylib
btw?
Just that it's the "right thing" to use when you're not linking the lib with more Rust libs as part of a compilation pipeline. But also that the file will be smaller :)
Superseded by #42.
You'd probably want to use
cdylib
for compiling plugin dynamic libraries here.https://doc.rust-lang.org/reference/linkage.html
https://github.com/rust-lang/rfcs/blob/master/text/1510-cdylib.md
We are also using
cdylib
when building VST plugins in Rust.The resulting file with
cdylib
will be much smaller, too.