Small refactor on WASMModuleInstance and fix Go/Python language bindings (#3227)
- Merge unused field `used_to_be_wasi_ctx` in `AOTModuleInstance` into `reserved` area
- Add field `memory_lock` in `WASMMemoryInstance` for future refactor
- Go binding: fix type error
https://github.com/bytecodealliance/wasm-micro-runtime/issues/3220
- Python binding:
type annotation uses the union operator "|", which requires Python version >=3.10
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
# WARM API
|
||||
|
||||
* **Notice**: The python package `wamr.wamrapi.wamr` need python >= `3.9`.
|
||||
* **Notice**: The python package `wamr.wamrapi.wamr` need python >= `3.10`.
|
||||
|
||||
## Setup
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
|
||||
Install requirements,
|
||||
|
||||
```
|
||||
```shell
|
||||
pip install -r requirements.txt
|
||||
```
|
||||
|
||||
@ -17,6 +17,7 @@ pip install -r requirements.txt
|
||||
The following command builds the iwasm library and generates the Python bindings,
|
||||
|
||||
```sh
|
||||
# In WAMR root directory
|
||||
bash language-bindings/python/utils/create_lib.sh
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user