Skip to content

chore: wire --version; cross-compile Intel macOS release on macos-14 - #32

Merged
logannye merged 1 commit into
mainfrom
rosalind/release-version-nits
Jun 2, 2026
Merged

chore: wire --version; cross-compile Intel macOS release on macos-14#32
logannye merged 1 commit into
mainfrom
rosalind/release-version-nits

Conversation

@logannye

@logannye logannye commented Jun 2, 2026

Copy link
Copy Markdown
Owner

Summary

Two hygiene nits from the v0.1.0 release.

  • rosalind --version#[command(version)] now reports the crate version (was unset → --version errored).
  • release.yml — the x86_64-apple-darwin build now runs on macos-14 (Apple Silicon, plentiful) and cross-compiles from arm64 (the macOS SDK ships both arches; the cc crate adds -arch x86_64 for the bundled htslib/bzip2/lzma C). This avoids the scarce, deprecated Intel macos-13 runners 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 -- --versionrosalind 0.1.0; cargo fmt --check clean; 0 warnings
  • release.yml YAML valid; all three targets on plentiful runners
  • CI green on this PR; a release dry run confirms the macos-14 cross-build

🤖 Generated with Claude Code

…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>
@logannye
logannye merged commit 6b1c663 into main Jun 2, 2026
3 checks passed
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

Successfully merging this pull request may close these issues.

1 participant