Show wasm proposals status during compilation and execution (#3989)

- add default build configuration options and enhance message output for WAMR features
- Add Wasm proposal status printing functionality
This commit is contained in:
liang.he
2025-02-05 15:28:26 +08:00
committed by GitHub
parent c6712b4033
commit 41b2c6d0d5
4 changed files with 177 additions and 66 deletions

View File

@ -18,6 +18,8 @@
#include "../common/libc_wasi.c"
#endif
#include "../common/wasm_proposal.c"
#if BH_HAS_DLFCN
#include <dlfcn.h>
#endif
@ -798,6 +800,8 @@ main(int argc, char *argv[])
wasm_runtime_get_version(&major, &minor, &patch);
printf("iwasm %" PRIu32 ".%" PRIu32 ".%" PRIu32 "\n", major, minor,
patch);
printf("\n");
wasm_proposal_print_status();
return 0;
}
else {