Thread with 1 post

jump to expanded post

Rust pro tip: if you have a C/C++ dependency for your project that you have to compile in your build script, consider making it into its own crate. Then it can be compiled in parallel to your Rust code, and it won't be recompiled unnecessarily if you need to change something else that has a build script. You can use Cargo “workspaces” to keep it in the same repo as your main crate.

Open thread at this post