Address code review feedback

This commit is contained in:
Jesse Wilson 2025-03-03 20:45:59 -05:00
parent beb34c3675
commit de82d1946f
2 changed files with 2 additions and 1 deletions

View File

@ -392,8 +392,8 @@ wasm_engine_new_internal(wasm_config_t *config)
WASM_C_DUMP_PROC_MEM();
/* wasm_config_t->MemAllocOption -> RuntimeInitArgs->MemAllocOption */
init_args.gc_heap_size = GC_HEAP_SIZE_DEFAULT;
/* wasm_config_t->MemAllocOption -> RuntimeInitArgs->MemAllocOption */
init_args.mem_alloc_type = config->mem_alloc_type;
memcpy(&init_args.mem_alloc_option, &config->mem_alloc_option,
sizeof(MemAllocOption));

View File

@ -141,6 +141,7 @@ cmake -DWAMR_BUILD_PLATFORM=linux -DWAMR_BUILD_TARGET=ARM
### **Enable Garbage Collection**
- **WAMR_BUILD_GC**=1/0, default to disable if not set
- **WAMR_BUILD_GC_HEAP_SIZE_DEFAULT**=n, default to 128 kB (131072) if not set
### **Configure Debug**