Skip to content

fix(release): support Linux ARM64 builds - #475

Merged
tcballard merged 1 commit into
mainfrom
fix/v0.29-arm64-release
Aug 30, 2026
Merged

fix(release): support Linux ARM64 builds#475
tcballard merged 1 commit into
mainfrom
fix/v0.29-arm64-release

Conversation

@tcballard

Copy link
Copy Markdown
Collaborator

Summary

  • cast libyaml's parser problem pointer to the target-native c_char type before passing it to CStr::from_ptr
  • add a permanent ubuntu-24.04-arm release build gate for the shipped CLI and MCP binaries

Why

The v0.29.0 release run exposed a Linux ARM64-only compile error because c_char is unsigned on that target while unsafe-libyaml exposes the field as *const i8. The cast preserves the existing bytes and lets CStr use the platform-native pointer type.

Failed release job: https://github.com/asdecided/core/actions/runs/33317160802/job/99273737990

Verification

  • cargo +1.94.1 clippy -p asdecided-core --lib -- -D warnings
  • cargo +1.94.1 test -p asdecided-core --lib — 126 passed
  • cargo +1.94.1 build --release --locked -p decided -p decided-mcp

The added ARM64 job will validate the exact PR head on a native runner.

Cast libyaml's problem pointer to the target-native c_char type and exercise the shipped binaries on an ARM64 runner.

Signed-off-by: Tom Ballard <tom@armytage.co>
@tcballard
tcballard merged commit bf7a174 into main Aug 30, 2026
13 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