Comments (3)
As a point of comparison, the environment variables work fine when using the wasmtime
cli.
from wasmtime-py.
Thanks for the report. I've tried this out locally and can't immediately reproduce it. Can you share some more information such as the wasm source, the toolchain you used to produce the wasm source, and this library's version?
from wasmtime-py.
I figured out what's happening. The _initialize
export isn't getting called. I'm using the witx/wai wrappers which don't give you direct access to _initialize
so I figured it was being called automatically, but that was not the case.
from wasmtime-py.
Related Issues (20)
- wasmtime (13.0.0) yields errors when started with Python 3.8.18 HOT 2
- Support WIT resource types HOT 7
- Import Order for Multiple Functions HOT 2
- Limit memory and CPU usage HOT 5
- beginner tip? HOT 2
- wasmtime bindgen `get_terminal_stdin` NotImplementedError when using WIT component HOT 6
- Can't run module with tail calls HOT 2
- wasmtime-X.0.0-py3-none-any.whl doesn't include linux-x86_64 HOT 2
- Any example how to load `.wasm` in python HOT 9
- When used with ComponentizeJS output, `wasmtime.Module.from_file` is extremely slow and not configurable HOT 7
- `store` argument in `wasmtime.bindgen` output seems redundant HOT 7
- Backward compatibility contract for bindings generated by `wasmtime.bindgen`? HOT 5
- `wasmtime.bindgen` shouldn't be using `__file__` HOT 3
- bug: wasi import `sched_yield` is not defined HOT 1
- Easy way to get version wasmtime-py HOT 3
- add source distribution to pypi - to create conda package HOT 4
- how to handle rust's __wbindgen_throw, wbg, and __wbindgen_malloc ? HOT 7
- PyPI package does not work on Alpine HOT 10
- pip now downloads windows binaries on alpine x64 HOT 1
- Import dict rather than sequence? e.g. Instance(store, module, {"env": Memory(store, MemoryType(Limits(5, 5)))}) HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wasmtime-py.