Skip to content

fix(macho): add LC_UUID to Darwin executables#29

Closed
onevcat wants to merge 1 commit into
vercel-labs:mainfrom
onevcat:fix/darwin-lc-uuid
Closed

fix(macho): add LC_UUID to Darwin executables#29
onevcat wants to merge 1 commit into
vercel-labs:mainfrom
onevcat:fix/darwin-lc-uuid

Conversation

@onevcat
Copy link
Copy Markdown
Contributor

@onevcat onevcat commented May 16, 2026

Summary

  • add an LC_UUID load command to directly emitted Darwin Mach-O executables
  • derive the UUID bytes deterministically from emitted text/rodata so repeated builds stay byte-for-byte stable
  • cover the load command in command-contract and native-test checks

Closes #28.

Verification

  • make -C native/zero-c
  • zero run hello.0 now prints hello from zero on Darwin arm64
  • npm run command-contracts:local --silent
  • npm run native:test:local --silent

Co-authored-by: onevclaw <onevclaw@onevcat.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 16, 2026

@onevcat is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

@ctate
Copy link
Copy Markdown
Collaborator

ctate commented May 17, 2026

Hey @onevcat - I appreicate issue #28 and this PR

Merged a fix in #55 with you as a co-author

@ctate ctate closed this May 17, 2026
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.

Darwin zero run executable fails with dyld missing LC_UUID

2 participants