Skip to content

Commit 1221889

Browse files
authored
Delete obsolete section in Readme recommending wasmtime.loader (#327)
1 parent 4afebf9 commit 1221889

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

README.md

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -77,20 +77,6 @@ as well as the [full API documentation][apidoc] of the `wasmtime-py` package.
7777
[`examples` directory]: https://github.com/bytecodealliance/wasmtime-py/tree/main/examples
7878
[apidoc]: https://bytecodealliance.github.io/wasmtime-py/
7979

80-
If your WebAssembly module works this way, then you can also import the WebAssembly module
81-
directly into Python without explicitly compiling and instantiating it yourself:
82-
83-
```python
84-
# Import the custom loader for `*.wasm` files
85-
import wasmtime.loader
86-
87-
# Assuming `your_wasm_file.wasm` is in the python load path...
88-
import your_wasm_file
89-
90-
# Now you're compiled and instantiated and ready to go!
91-
print(your_wasm_file.run())
92-
```
93-
9480
## Components
9581

9682
Components are also supported in `wasmtime-py`. For more information see the

0 commit comments

Comments
 (0)