Skip to content

fix(wasix): use strict LLVM memory semantics - #242

Open
f0rr0 wants to merge 2 commits into
f0rr0/patch-correctness-refreshfrom
f0rr0/wasix-strict-memory-policy
Open

f0rr0 wants to merge 2 commits into
f0rr0/patch-correctness-refreshfrom
f0rr0/wasix-strict-memory-policy

Conversation

@f0rr0

@f0rr0 f0rr0 commented Oct 3, 2026 •

Copy link
Copy Markdown
Owner

Summary

Based on #218; independent of #241.

  • Disable LLVM's nonvolatile-memory optimization in embedded WASIX AOT and the Postmaster compiler; retain the readonly funcref optimization.
  • Align compiler settings, artifact identities and validators, and reject conflicting producer overrides.
  • Cover the policy with compiler-profile and manifest tests.

This preserves Wasm memory semantics but can increase query latency. Existing nonvolatile AOT artifacts must be rebuilt, not relabelled. Fresh performance and cross-platform artifact qualification remain outstanding.

@vercel

vercel Bot commented Oct 3, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
oliphaunt-docs Ready Ready Preview Oct 5, 2026 7:26am UTC

@f0rr0

f0rr0 commented Oct 4, 2026 •

Copy link
Copy Markdown
Owner Author

Rebased onto main 207fcfa5 through refreshed #218. Current head: 14326fe818cc5a702a8ab568aa106dadfe7b2fd6.

Fresh CI is running for that exact head.

Run 37243820019 predates #253. That merged change addresses the Swift/React Native carrier mismatches and Linux/macOS Node-API runtime-version mismatch. The strict-memory patch is unchanged; its five AOT manifest tests, Rust formatting and locked Cargo metadata checks pass locally. The shared packaging and workflow checks also pass.

The separate Windows recovery failure remains: client_compat exits with 0xe06d7363 on Wasmer 7.2/MSVC. Neither rebasing nor changing LLVM memory semantics repairs exception handling. It remains tracked in #208; no recovery test or platform gate was disabled. Fresh CI must qualify this head.

@f0rr0
f0rr0 force-pushed the f0rr0/wasix-strict-memory-policy branch from 485ebb7 to 14326fe Compare October 5, 2026 07:21
@f0rr0
f0rr0 force-pushed the f0rr0/patch-correctness-refresh branch from 51b7880 to 3553868 Compare October 5, 2026 07:21

This branch was successfully deployed

1 active deployment
Preview — 14326fe8 Deployed Oct 5, 2026 by vercel[bot]
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