# 臨時設置環(huán)境變量并執(zhí)行命令 env RUSTUP_DIST_SERVER= RUSTUP_UPDATE_ROOT= rustup target add x86_64-apple-darwin
編譯到intel芯片 cargo build --target x86_64-apple-darwin --release
cargo build --target x86_64-apple-darwin --release