Skip to content

Commit

Permalink
fix windows aarch64 using pyo3/generate-import-lib (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelcolvin authored Dec 21, 2023
1 parent 20f3ae1 commit 2d3dfa9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,9 @@ jobs:
- os: windows
target: i686
python-architecture: x86
# https://github.com/PyO3/maturin-action/issues/237
# - os: windows
# target: aarch64
# interpreter: 3.11 3.12
- os: windows
target: aarch64
interpreter: 3.11 3.12

runs-on: ${{ (matrix.os == 'linux' && 'ubuntu') || matrix.os }}-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Source = "https://github.com/samuelcolvin/rtoml"
[tool.maturin]
bindings = "pyo3"
module-name = "rtoml._rtoml"
features = ["pyo3/extension-module"]
features = ["pyo3/extension-module", "pyo3/generate-import-lib"]

[tool.pytest.ini_options]
testpaths = ["tests"]
Expand Down

0 comments on commit 2d3dfa9

Please # to comment.