Merge pull request #4124 from swankjesse/WAMR_BUILD_GC_HEAP_SIZE_DEFAULT

Expose WAMR_BUILD_GC_HEAP_SIZE_DEFAULT as a CMake option
This commit is contained in:
liang.he
2025-03-12 14:55:27 +08:00
committed by GitHub
3 changed files with 11 additions and 1 deletions

View File

@ -142,6 +142,9 @@ cmake -DWAMR_BUILD_PLATFORM=linux -DWAMR_BUILD_TARGET=ARM
### **Enable Garbage Collection**
- **WAMR_BUILD_GC**=1/0, default to disable if not set
### **Set the Garbage Collection heap size**
- **WAMR_BUILD_GC_HEAP_SIZE_DEFAULT**=n, default to 128 kB (131072) if not set
### **Configure Debug**
- **WAMR_BUILD_CUSTOM_NAME_SECTION**=1/0, load the function name from custom name section, default to disable if not set