Conversation
|
I haven't had time to work on this for a while, but wanted to share my work in progress. I wanted to take the same approach here that godot uses for third-party dependencies that godot uses by writing a python script to extract the relevant parts of WAMR and include them directly. This allows the godot build system to just compile the source files and avoid platform specific library linking. My goal was to try to extract from WAMR the minimum amount of code to support the wasm-c-api's view to the fast interp, dropping as much platform specific code as possible. WAMR currently has a lot of platform specific code for things like mutexes that ideally could be replaced by the c++ standard library for best portability. Theres also some changes in here that need to be upstreamed to WARM to support the wasm32 build platform. |
|
I created a PR for the upstream changes here bytecodealliance/wasm-micro-runtime#4639 . |
No description provided.