ReviewOS

home-lang/home

feat(aot): `--compile --target=` should cross-compile against Home runtime artifacts, not Bun's npm binaries

#792
Open chris opened this 8 days ago ·
8 days ago

Problem

The ported CompileTarget downloads @oven/bun-<os>-<arch> from registry.npmjs.org, so a "cross-compiled Home executable" is really upstream Bun with a Home-built bundle inside.

Evidence (origin/main @ d4b219507)

Scope

  • Publish per-target Home runtime templates on GitHub Releases with checksums.
  • Point CompileTarget at them and verify the checksum before embedding.

Acceptance criteria

  • For each supported target, the embedded runtime reports Home's version, not Bun's.
  • A checksum mismatch fails the build.

Depends on: #791 Part of #814.

Sign in to comment on this issue.