Skip to content

Conversation

@kateinoigakukun
Copy link
Member

@kateinoigakukun kateinoigakukun commented Jul 17, 2024

This change makes overlay Swift code generated by WITOverlayGenerator to be compatible with Embedded wasm32-unknown-none-wasm target by following changes:

  1. Avoid the use of malloc
  2. Guard out cabi_realloc definition not to implicitly depend on realloc. Embedded target users need to define cabi_realloc with their chosen allocator.

Also adjusted test suites to run e2e tests for Embedded target too.

@kateinoigakukun kateinoigakukun force-pushed the katei/embedded-wit-overlay-gen branch from 51e63f9 to ba19173 Compare July 17, 2024 01:05
@kateinoigakukun kateinoigakukun merged commit 5c33997 into main Jul 17, 2024
@kateinoigakukun kateinoigakukun deleted the katei/embedded-wit-overlay-gen branch July 17, 2024 01:27
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.

2 participants