curl -L https://github.com/roblabla/MacOSX-SDKs/releases/download/13.3/MacOSX13.3.sdk.tar.xz | tar xJ export SDKROOT=$(pwd)/MacOSX13.3.sdk/ export PATH=$PATH:~/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin/ export CARGO_TARGET_X86_64_APPLE_DARWIN_LINKER=rust-lld rustup target add x86_64-apple-darwin cargo build --release --target x86_64-apple-darwin