From 35b86951c5d24c27dae20fb3598ee819be1ffaed Mon Sep 17 00:00:00 2001 From: CocoRoF Date: Tue, 17 Mar 2026 16:05:27 +0900 Subject: [PATCH] fix: bump version to 0.2.3 in Cargo.toml and pyproject.toml; update publish workflow for aarch64 cross-compilation --- .github/workflows/publish.yml | 6 ++++++ Cargo.toml | 2 +- pyproject.toml | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e4a5b87..efda4e8 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -121,6 +121,12 @@ jobs: target: ${{ matrix.target }} args: --release --out dist --interpreter 3.10 3.11 3.12 3.13 manylinux: ${{ matrix.manylinux }} + before-script-linux: | + # Fix ring crate cross-compilation for aarch64 + # The manylinux cross-compiler doesn't set __ARM_ARCH by default + if [ "$(uname -m)" != "aarch64" ]; then + export CFLAGS_aarch64_unknown_linux_gnu="-march=armv8-a" + fi - name: Upload wheels uses: actions/upload-artifact@v4 diff --git a/Cargo.toml b/Cargo.toml index d7e0b44..926c7a2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "googer" -version = "0.2.2" +version = "0.2.3" edition = "2021" description = "A powerful, type-safe Google Search library for Python — powered by Rust." license = "Apache-2.0" diff --git a/pyproject.toml b/pyproject.toml index b67f7a8..9dc4788 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "googer" -version = "0.2.2" +version = "0.2.3" description = "A powerful, type-safe Google Search library for Python — powered by Rust." readme = "README.md" requires-python = ">=3.10"