Skip to content

Commit

Permalink
fix aot compile error for nuttx
Browse files Browse the repository at this point in the history
(AOT header file makes a static assertion on the size of the WASMModuleInstance structure)
  • Loading branch information
ermler committed Sep 29, 2023
1 parent f55125c commit cb3e891
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/iwasm/interpreter/wasm_runtime.h
Original file line number Diff line number Diff line change
Expand Up @@ -370,9 +370,10 @@ struct WASMModuleInstance {
/* WASM/AOT module extra info, for AOTModuleInstance,
it denotes `AOTModuleInstanceExtra *` */
DefPointer(WASMModuleInstanceExtra *, e);
#if WASM_ENABLE_TAGS != 0
/* Array of tag pointers */
DefPointer(void **, import_tag_ptrs);

#endif
/* Default WASM operand stack size */
uint32 default_wasm_stack_size;
uint32 reserved[3];
Expand Down

0 comments on commit cb3e891

Please sign in to comment.