Closed oubiwann closed 1 year ago
cbindgen
looks like it might be the best fit:
Rust's C support will need to be used in conjunction with cbindgen
:
Come to think of it, we're probably going to want to pull in some C/C++ stuff that's used by all VCV Rack modules. So more links:
This is another option:
This was EXTREMELY difficult to try ... basically, the only thing I got working was Rust enums.
Thing is, even if I had gotten it working, I would have had to bail: the size of my modules would have been orders of magnitude larger than any of the modules in the VCV Rack community. Probably a non-starter for most potential users.
There's a nice run-down of the C/C++ integration options for Rust here: