Compile rust binary for older versions of Mac OSX

Have you tried

export MACOSX_DEPLOYMENT_TARGET=10.8

?

I suspect some -sys crates may be invoking a C compiler and making objects for the default sdk.

1 Like