JakeOrange

Results 10 comments of JakeOrange

I run it ok on MacOS and iOS.

> In that case, I would suggest setting `max_thread_num` of `RuntimeInitArgs` to a larger number, like 12 or 15, then using `wasm_runtime_full_init()` to start everything. I had set `CLUSTER_MAX_THREAD_NUM` to...

> _iwasm_ works well with the _hello_world.wasm_ on my local environment. Could u try it, with _iwasm_, on MacOS? > > ``` > $ ./iwasm --max-threads=20 ./hello_world.wasm > in thread...

> > I had try it on MacOS, it is OK. It only happen on Android. And it must happen. > > When reproduce it on Android, using _iwasm_ or...

> Since I can't reproduce it locally, here are some BKMs of the team, hope useful: Get it. Thanks!

> The point is `func_idx_rt` can't be operated from host side, which means if developers create a `wasm_func_t` with `wasm_func_new` and `func_idx_rt` will be -1 and they can't assign the...

In the case " WebAssembly.instantiate(fetch(wasmBinaryFile), info)", info is a two-dimensional array. Before calling the "wasm_instance_new_with_arg", the imported elements were exported and ware stored as a map. The cause is that...

> Again, we thought the big problem in this line is > > ```c > CApiFuncImport *linkFunc = func_import + func_host->func_idx_rt; > ``` > > a host function should not...

> So don't be worried about `func_idx_rt` from the host side. Yes. It is my answer on the 3th floor.