bytecodealliance / bytecodealliance/wasmtime-py

Check for 64-bit platform is incorrect

Open
#313 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
539
Forks
69
Avg merge
13m
Merged PRs (30d)
1

Description

I am attempting to use `wasmtime-py` with graalpy, but I get the `RuntimeError` from below:

https://github.com/bytecodealliance/wasmtime-py/blob/0513ef749b3fe5b7044e0efd678c141e11648b0b/wasmtime/_ffi.py#L8-L9

It is suggested to use the same check that was used by pypa/packaging as seen in issue [614](https://github.com/pypa/packaging/pull/614) in the repo:

```python
_32_BIT_INTERPRETER = (struct.calcsize("P") == 4)
```

A different means should be used.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.