Move application entry APIs out of wasm_runtime_common.c (#639)

And fix libc-builtin print float issue
Add a list to track all third party components
Fix compile error when MEMORY_TRACING is enabled

Signed-off-by: Wenyong Huang <wenyong.huang@intel.com>
This commit is contained in:
Wenyong Huang
2021-05-26 13:22:03 +08:00
committed by GitHub
parent 06769048eb
commit 1b34606940
11 changed files with 741 additions and 932 deletions

View File

@ -365,6 +365,8 @@ handle_1_to_9:
float64 f64;
char buf[16], *s;
/* Make 8-byte aligned */
ap = (_va_list)(((uintptr_t)ap + 7) & ~(uintptr_t)7);
CHECK_VA_ARG(ap, float64);
f64 = _va_arg(ap, float64);
snprintf(buf, sizeof(buf), "%f", f64);