rust: fix darwin build
This fixes compiling the Rust modules in Darwin/macOS; I merely did a basic sanity test afterwards and did not run the full test suite.
This fixes compiling the Rust modules in Darwin/macOS; I merely did a basic sanity test afterwards and did not run the full test suite.