From 2d3dfa952e50131929e29990bdc53977a0c8548f Mon Sep 17 00:00:00 2001 From: Samuel Colvin Date: Thu, 21 Dec 2023 14:11:28 +0000 Subject: [PATCH] fix windows aarch64 using pyo3/generate-import-lib (#73) --- .github/workflows/ci.yml | 7 +++---- pyproject.toml | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6a30597..2f2a75c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: diff --git a/pyproject.toml b/pyproject.toml index e3056aa..f26f5e0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"]