To enable the compilation of WASM using fpc-devel-3.3.1, we need to add the Wasip1 option in the target. I have tested and can confirm that this is working.
Created attachment 273275 [details] git patch