Statically Linking Parts of a Shared Library?

Ah, sorry, it's apparently a rustc flag, so you need to use RUSTFLAGS or cargo rustc.