jim

Results 7 issues of jim

如何与C语言交互?打算写个[AWTK](https://github.com/zlgopen/awtk)的绑定。

enhancement

reproduce steps: ``` cd wasm-micro-runtime/samples/multi-thread cmake . make ``` output log ``` [ 90%] Building C object wasm-apps/CMakeFiles/test.wasm.dir/main.c.o [ 92%] Linking C executable test.wasm [wasm-validator error in function 1] unexpected...

done
samples

main.c ```c #include #include #include #include void *thread_routine(void *arg) { printf("Enter thread\n"); pthread_exit(NULL); return NULL; } int main(int argc, char** argv) { pthread_t tid; if (0 != pthread_create(&tid, NULL, thread_routine,...

``` compiling main.c... ../Core/Src/main.c(22): error: #5: cannot open source input file "dev_uart.h": No such file or directory #include "dev_uart.h" ../Core/Src/main.c: 0 warnings, 1 error compiling gpio.c... "no source": Error: #5:...

wasm-micro-runtime/core/iwasm/aot/debug/jit_debug.c 1. not found unistd.h 2. __attribute__(noinline) does't not work for MSVC core/iwasm/aot/debug/elf_parser.c 1. not found unistd.h core/iwasm/common/wasm_runtime_common.c 1. ZydisDecoderDecodeFull is changed in latest zydis 3. ZydisFormatterFormatInstruction is changed in...

source debugger
platform

``` Load wasm module failed. error: AOT module load failed: invalid target type, expected arm64 but got aarch64v8 ``` wasm-micro-runtime/core/iwasm/aot/arch/aot_reloc_aarch64.c ``` #if (defined(__APPLE__) || defined(__MACH__)) && defined(__arm64__) #define BUILD_TARGET_AARCH64_DEFAULT "arm64"...

duplicate

### Global mutex does not work The mutex is created at here: ``` * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 16.1 * frame #0: 0x0000000102d984a8 libvmlib.dylib`create_cluster_info(cluster=0x0000000100505b50) at...