Skip to content

Fix macOS Intel release build#146

Merged
alphaqiu merged 2 commits into
masterfrom
develop
Jun 1, 2026
Merged

Fix macOS Intel release build#146
alphaqiu merged 2 commits into
masterfrom
develop

Conversation

@alphaqiu

@alphaqiu alphaqiu commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Fix the Release workflow failure for the x86_64 macOS build by making the macOS crash-handler dependency available on all macOS targets, not only Apple Silicon.

Root cause

The failed Release run compiled src/security/mach_exception.rs for x86_64-apple-darwin, but mach2 was declared only for aarch64-apple-darwin. The module is gated by target_os macos, so the dependency needs the same target scope.

Verification

  • cargo fmt --check
  • cargo metadata --locked --no-deps --format-version 1
  • cargo check --target x86_64-apple-darwin --bin ok
  • git diff --check

Release follow-up

After this merges to master, rerun the failed preview release by moving or recreating v0.8.0-preview.1 on the fixed master commit, or choose a new preview tag/version if you prefer not to move the failed tag.

@alphaqiu alphaqiu merged commit 4e919c5 into master Jun 1, 2026
2 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