Commit 0c6cf99
authored
add support for macOS arm64, build wheels (#92)
* handle platform.machine() == arm64 for macOS
Upstream wasmtime releases use aarch64-macos as part of the file name.
On aarch64 macOS, platform.machine() returns 'arm64' instead.
With this change, download-wasmtime.py correctly downloads
aarch64-macos binaries and _ffi.py correctly loads them.
* ci: build wheels for macOS arm64
* setup.py: pin flake8 due to an incompatibility with pytest-flake8
pytest-flake8 is currently incompatible with 5.x flake8 releases.
This downgrades flake8 to an older version which still works.1 parent 8702823 commit 0c6cf99
File tree
4 files changed
+11
-0
lines changed- .github/workflows
- wasmtime
4 files changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
63 | 67 | | |
64 | 68 | | |
65 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
42 | 45 | | |
43 | 46 | | |
44 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| |||
0 commit comments