Description
For Beta cluster, I've only got --optimization 0 to work; however, --optimization 2 works in production/staging, and even higher optimization levels might be possible. We could consider compiling multiple times for different target environments.
Desired behavior/Acceptance criteria (returned value, expected error, performance expectations, etc.)
- multiple wasmedge compile steps for different environments
- read the appropriate WASM binary using WASMEDGE_BINARY environment variable
Completion checklist
- Before closing this task, review one by one the checklist available here: https://www.mediawiki.org/wiki/Abstract_Wikipedia_team/Definition_of_Done#Back-end_Task/Bug_completion_checklist