wasmtime_component
This commit is contained in:
parent
3778469de9
commit
f0e9a8ca94
12 changed files with 69 additions and 65 deletions
|
@ -7,5 +7,4 @@ How to create and build the Python component:
|
|||
5. Create the `src` folder with the file `app.py`
|
||||
6. Create the `wit` folder with the file `world.wit`
|
||||
7. Update code as needed
|
||||
8. `componentize-py --wit-path wit/world.wit bindings src/bindings`
|
||||
9. `componentize-py --wit-path wit/world.wit componentize src.app --output python_decoder.wasm`
|
||||
8. `rm -rf src/bindings && componentize-py --wit-path wit/world.wit bindings src/bindings && componentize-py --wit-path wit/world.wit componentize src.app --output python_decoder.wasm`
|
||||
|
|
Binary file not shown.
|
@ -1,4 +1,4 @@
|
|||
package component:python-decoder;
|
||||
package component:decoder;
|
||||
|
||||
interface host {
|
||||
log: func(message: string);
|
||||
|
|
Reference in a new issue