Skip to content

chore: update MoonBit toolchain compatibility - #65

Merged
brickfrog merged 1 commit into
mainfrom
agent/moonbit-toolchain-compatibility
Jul 29, 2026
Merged

chore: update MoonBit toolchain compatibility#65
brickfrog merged 1 commit into
mainfrom
agent/moonbit-toolchain-compatibility

Conversation

@brickfrog

Copy link
Copy Markdown
Owner

Summary

  • migrate module and executable manifests to the current MoonBit syntax
  • make native the preferred development target and align contributor instructions
  • replace deprecated Bytes::default() calls with empty byte literals
  • report the complete MoonBit toolchain identity in CI

Why

The floating MoonBit installer now selects a newer composite toolchain. Without
this cleanup, bare moon test selects the unsupported Wasm1 async path and
moon fmt rewrites tracked manifests, causing CI's format check to fail. The
new core snapshot also deprecates the promoted Bytes::default() form.

This keeps existing behavior and public interfaces unchanged while making the
repository compatible with the current toolchain.

Validation

  • moon info (no .mbti changes)
  • moon fmt (idempotent)
  • bare moon test — 279 passed
  • moon check --target native
  • moon check --target js
  • moon check --target wasm-gc
  • moon test --target native — 279 passed
  • moon test --target js — 270 passed
  • moon test --target wasm-gc — 255 passed
  • moon build --target native --release
  • git diff --check

No version bump or release is needed because this does not change the published
API or runtime behavior.

@brickfrog
brickfrog marked this pull request as ready for review July 29, 2026 21:18
@brickfrog
brickfrog merged commit 7a62ced into main Jul 29, 2026
1 check passed
@brickfrog
brickfrog deleted the agent/moonbit-toolchain-compatibility branch July 29, 2026 21:18
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