chore: wire --version; cross-compile Intel macOS release on macos-14 - #32
Merged
Conversation
…os-14 - clap `#[command(version)]` so `rosalind --version` / `-V` report the crate version (0.1.0) instead of erroring. - release.yml: build x86_64-apple-darwin on macos-14 (Apple Silicon, plentiful) by cross-compiling from arm64 — the SDK ships both arches and the cc crate adds `-arch x86_64`, verified locally — so a release never waits on the scarce, deprecated Intel macos-13 runners (which stalled the v0.1.0 Intel asset). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two hygiene nits from the v0.1.0 release.
rosalind --version—#[command(version)]now reports the crate version (was unset →--versionerrored).release.yml— thex86_64-apple-darwinbuild now runs onmacos-14(Apple Silicon, plentiful) and cross-compiles from arm64 (the macOS SDK ships both arches; thecccrate adds-arch x86_64for the bundled htslib/bzip2/lzma C). This avoids the scarce, deprecated Intelmacos-13runners that stalled the v0.1.0 Intel asset (which I ended up cross-building locally). Verified the cross-compile + a Rosetta smoke test locally.Test plan
cargo run -- --version→rosalind 0.1.0;cargo fmt --checkclean; 0 warningsrelease.ymlYAML valid; all three targets on plentiful runners🤖 Generated with Claude Code