Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Self-build for macOS (x86/aarch64) #170

Open
eric1932 opened this issue Oct 4, 2022 · 4 comments
Open

Self-build for macOS (x86/aarch64) #170

eric1932 opened this issue Oct 4, 2022 · 4 comments

Comments

@eric1932
Copy link

eric1932 commented Oct 4, 2022

Please consider including macOS rebuilt in releases.

What I did

rustup target add x86_64-apple-darwin
cargo build --release
cargo build --release --target=x86_64-apple-darwin
# create universal binary
cd targets; lipo x86_64-apple-darwin/release/steamguard-cli release/steamguard-cli \
  -create -output ./steamguard-cli

prebuilt binary (commit hash 8c4535): steamguard-cli.zip
USE AT YOUR OWN RISK

@dyc3
Copy link
Owner

dyc3 commented Oct 6, 2022

I'm gonna remove your download here because it presents a risk to end users. But yeah, maybe I should include a darwin build

@eric1932
Copy link
Author

eric1932 commented Oct 6, 2022

thx for the update

@tayler-king
Copy link

aarch64-apple-darwin would also be useful :)

@dyc3
Copy link
Owner

dyc3 commented Oct 8, 2023

I took a look at adding this to my release script, and it's not exactly as straightforward as I'd hoped. For whatever reason, ring (transient dependency) really doesn't like getting cross compiled for mac on linux.

I found this though: https://wapl.es/rust/2019/02/17/rust-cross-compile-linux-to-macos.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants