Skip to content

feat(ILO-16): cross-platform MVP — 5 native targets + WASM/WASI#702

Merged
danieljohnmorris merged 2 commits into
mainfrom
feature/cross-platform-mvp
May 22, 2026
Merged

feat(ILO-16): cross-platform MVP — 5 native targets + WASM/WASI#702
danieljohnmorris merged 2 commits into
mainfrom
feature/cross-platform-mvp

Conversation

@danieljohnmorris
Copy link
Copy Markdown
Collaborator

Summary

  • Adds ilo compile --target <triple> flag with validation against the 6 supported triples (5 native + wasm32-wasip1)
  • Adds cross-platform and wasm-smoke jobs to rust.yml so every PR is smoke-tested on all 5 native targets and WASM
  • Switches Linux release targets from *-gnu to *-musl (statically linked)
  • Silences macOS SDK link warnings via -mmacosx-version-min=15.0 in .cargo/config.toml
  • Adds docs/deploying.md with per-target build commands, cross-compilation recipes, WASM edge runtime deployment, and the HTTP gap notice

Test plan

  • cargo check passes locally (verified)
  • All args unit tests pass (100/100 verified)
  • CI cross-platform matrix runs on all 5 native targets
  • CI wasm-smoke builds wasm32-wasip1 without errors
  • ilo compile --target wasm32-wasip1 hello.ilo rejects unknown triples with helpful error

Deferred items (follow-up tickets)

  • ilo compile --target wiring through to actual cargo cross-compilation (currently validates and passes the flag to compile_cmd which needs cargo integration)
  • wasmtime runtime smoke in CI (adds ~2 min install; deferred)
  • Windows GNU variant
  • WASI Preview 2 (HTTP gap, tracked feat: add spl builtin — split text by separator #48 / Architectural C)
  • Code-signing / notarisation (separate ops track)

Closes ILO-16.

🤖 Generated with Claude Code

Daniel Morris and others added 2 commits May 22, 2026 08:06
- Add `ilo compile --target <triple>` flag validating against the 6 supported
  triples (5 native + wasm32-wasip1); unsupported triples print the list and
  exit 1.
- Add `cross-platform` and `wasm-smoke` jobs to rust.yml CI matrix so every
  PR is smoke-tested on all native targets and WASM build.
- Switch release.yml Linux targets from gnu to musl (statically linked,
  no libc dependency) as specified by the ticket.
- Silence macOS SDK link warnings via `-mmacosx-version-min=15.0` in
  .cargo/config.toml (applies automatically on every macOS build in this
  workspace).
- Add docs/deploying.md with per-target build commands, cross-compilation
  recipes, WASM edge runtime deployment, and the HTTP gap notice.

Deferred: wasmtime runtime smoke test, `ilo compile --target` actually driving
cargo cross-compilation (currently passes --target through to compile_cmd
which will need to wire it to cargo), Windows GNU variant, WASI Preview 2.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented May 22, 2026

Codecov Report

❌ Patch coverage is 65.38462% with 9 lines in your changes missing coverage. Please review.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/main.rs 36.36% 7 Missing ⚠️
src/cli/args.rs 86.66% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

@danieljohnmorris danieljohnmorris merged commit 7252e91 into main May 22, 2026
10 of 11 checks passed
@danieljohnmorris danieljohnmorris deleted the feature/cross-platform-mvp branch May 22, 2026 07:35
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