wamr-python: Enable debugging WASM and grant dir access (#2449)
- Enable debugging a WASM loaded and executed from Python. - Expose API to enable access to list of host directories. Similar to --dir in iwasm. - Add another python language binding sample: native-symbol.
This commit is contained in:
@ -12,7 +12,12 @@ WAMR_BUILD_PLATFORM=${WAMR_BUILD_PLATFORM:-${UNAME}}
|
||||
cd ${ROOT_DIR}/product-mini/platforms/${WAMR_BUILD_PLATFORM}
|
||||
|
||||
mkdir -p build && cd build
|
||||
cmake ..
|
||||
cmake \
|
||||
-DWAMR_BUILD_DEBUG_INTERP=1 \
|
||||
-DWAMR_BUILD_LIB_PTHREAD=1 \
|
||||
-DWAMR_BUILD_LIB_WASI_THREADS=1 \
|
||||
-DWAMR_BUILD_LIB_WASI=1 \
|
||||
..
|
||||
make -j
|
||||
|
||||
case ${UNAME} in
|
||||
|
||||
Reference in New Issue
Block a user