Skip to content

Rust Template for Blue Cat's Plug'n Script

License

Notifications You must be signed in to change notification settings

slatunje/plugnrust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

plugnrust

I am not affiliated with Blue Cat Audio, so please report issues with this template here.

This is a rust version of the headers and reference script of Blue Cat's Plug'n Script. I am using this for my project, but I haven't used everything yet, so there might still be bugs. Issues and contributions are welcome.

For documentation please consult the headers and the reference script.

It is not my goal to create a state of the art rust-crate, I am totally ok with some unsafe here and there.

Linking

Rust cannot create macOS shared-libraries for dlopen (bundles). The official way to create bundles is to create a static-library and link it with clang. As I do in the Makefile.

The makefile builds a universal (x86_64 and arm64) binary. add the other target with:

rustup target add x86_64-apple-darwin

or

rustup target add aarch64-apple-darwin

I will look into Windows, once my project is past alpha.

About

Rust Template for Blue Cat's Plug'n Script

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published