Skip to content

157 move virtual machine into wasm executable and decouple abi#160

Merged
AlixANNERAUD merged 16 commits intomainfrom
157-move-virtual-machine-into-wasm-executable-and-decouple-abi
Feb 11, 2026
Merged

157 move virtual machine into wasm executable and decouple abi#160
AlixANNERAUD merged 16 commits intomainfrom
157-move-virtual-machine-into-wasm-executable-and-decouple-abi

Conversation

@AlixANNERAUD
Copy link
Contributor

@AlixANNERAUD AlixANNERAUD commented Feb 10, 2026

This pull request introduces significant refactoring to improve the modularity and clarity of the codebase, particularly around WASM/guest support, and removes legacy virtual machine dependencies. The changes standardize terminology from "wasm" to "guest", clean up unused modules, and update build and workflow scripts to reflect the new structure. Additionally, the calculator executable is updated to use the new modular WASM interface.

Refactoring and Cleanup

  • Removed all references to the legacy virtual_machine and related bindings, both in the main workspace (Cargo.toml) and in example executables, simplifying the dependency graph and codebase. [1] [2] [3] [4] [5] [6] [7] [8] [9]
  • Removed the host_bindings and related utility modules from the workspace, further reducing unused code. [1] [2] [3] [4]

WASM/Guest Terminology Standardization

  • Renamed features, tasks, and workflow steps from "wasm" to "guest" throughout the build system (Makefile.toml, .github/workflows/check.yml, .github/workflows/deploy.yml), and updated dependencies to use the new "guest" and "default_guest" features for WASM targets. [1] [2] [3] [4] [5]

Build and Configuration Updates

  • Updated the path for WAMR_SHARED_PLATFORM_CONFIG in .cargo/config.toml to reflect the new location.
  • Removed the now-unnecessary documentation/index.html redirect file, as documentation deployment is now handled differently.
  • Adjusted documentation and build steps in workflows and makefiles to match the new guest/host separation and directory structure. [1] [2] [3]

Calculator Executable Modernization

  • Updated the calculator's WASM interface to use the new wasm crate instead of the deprecated xila::bindings, and fixed minor issues in button map handling and function signatures. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]

These changes collectively improve maintainability, clarify the build process, and modernize the approach to guest (WASM) support.

@AlixANNERAUD AlixANNERAUD linked an issue Feb 10, 2026 that may be closed by this pull request
@AlixANNERAUD AlixANNERAUD merged commit 35975c0 into main Feb 11, 2026
1 of 2 checks passed
@AlixANNERAUD AlixANNERAUD deleted the 157-move-virtual-machine-into-wasm-executable-and-decouple-abi branch February 11, 2026 21:15
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.

Move virtual machine into WASM executable and decouple ABI

1 participant