Skip to content

fix(kernel): gate boot assembly to bare-metal AArch64 - #29

Open
proffesor-for-testing wants to merge 1 commit into
ruvnet:mainfrom
proffesor-for-testing:fix/27-apple-aarch64-tests
Open

fix(kernel): gate boot assembly to bare-metal AArch64#29
proffesor-for-testing wants to merge 1 commit into
ruvnet:mainfrom
proffesor-for-testing:fix/27-apple-aarch64-tests

Conversation

@proffesor-for-testing

Copy link
Copy Markdown

Summary

  • compile the AArch64 boot global_asm! only for target_os = "none"
  • keep hosted AArch64 test builds on the existing test stub

Fixes #27

Verification

  • Before: cargo test --workspace failed on Apple Silicon with Darwin assembler errors.
  • After: cargo test --workspace passed across the full workspace.
  • Bare-metal target check was attempted but this host does not have aarch64-unknown-none installed. The cfg remains active for that target by construction.

Adversarial review

NO BLOCK. Checked that the condition distinguishes OS target rather than CPU alone and that hosted AArch64 no longer emits _start. Residual gate: CI with the installed bare-metal target should run the existing kernel build.

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.

test(kernel): cargo test --workspace fails on Apple AArch64 host assembly

1 participant