From bf20bc070ce4dd0b76acece9ec110dadd9bcf6f7 Mon Sep 17 00:00:00 2001 From: Simonas Kazlauskas Date: Sat, 26 Apr 2025 02:01:24 +0300 Subject: [PATCH 1/3] release 0.8.7 --- .github/workflows/libloading.yml | 4 ++-- Cargo.toml | 2 +- src/changelog.rs | 7 +++++++ 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/libloading.yml b/.github/workflows/libloading.yml index 7cf5b3105..d210e7fc7 100644 --- a/.github/workflows/libloading.yml +++ b/.github/workflows/libloading.yml @@ -15,7 +15,7 @@ jobs: strategy: fail-fast: false matrix: - rust_toolchain: [nightly, stable, 1.56.0] + rust_toolchain: [nightly, stable, 1.63.0] os: [ubuntu-latest, windows-latest, macOS-latest] timeout-minutes: 20 steps: @@ -24,7 +24,7 @@ jobs: - run: rustup default ${{ matrix.rust_toolchain }} - run: rustup component add clippy - run: cargo update -p libc --precise 0.2.155 - if: ${{ matrix.rust_toolchain == '1.56.0' }} + if: ${{ matrix.rust_toolchain == '1.63.0' }} - run: cargo clippy - run: cargo test -- --nocapture - run: cargo test --release -- --nocapture diff --git a/Cargo.toml b/Cargo.toml index 75e146265..1c67c6cf8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "libloading" # When bumping # * Don’t forget to add an entry to `src/changelog.rs` # * If bumping to an incompatible version, adjust the documentation in `src/lib.rs` -version = "0.8.6" +version = "0.8.7" authors = ["Simonas Kazlauskas "] license = "ISC" repository = "https://github.com/nagisa/rust_libloading/" diff --git a/src/changelog.rs b/src/changelog.rs index 0b6910633..6d77b7f15 100644 --- a/src/changelog.rs +++ b/src/changelog.rs @@ -1,6 +1,13 @@ //! The change log. +/// Release 0.8.7 (2025-04-26) +/// +/// ## Non-breaking changes +/// +/// Add support for the `*-pc-cygwin` target. +pub mod r0_8_7 {} + /// Release 0.8.4 (2024-06-23) /// /// ## Non-breaking changes From 55b78687b8027bc770152817ac70ba92eb75bbdc Mon Sep 17 00:00:00 2001 From: Simonas Kazlauskas Date: Tue, 29 Apr 2025 17:45:40 +0300 Subject: [PATCH 2/3] ci: attempt to fix mingw test failures --- .github/workflows/libloading.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/libloading.yml b/.github/workflows/libloading.yml index d210e7fc7..8c1ebe290 100644 --- a/.github/workflows/libloading.yml +++ b/.github/workflows/libloading.yml @@ -58,7 +58,6 @@ jobs: with: release: false install: ${{ matrix.package }} - - run: echo "c:/msys64/bin" | Out-File -FilePath $env:GITHUB_PATH -Append - run: echo "${{ matrix.mingw_path }}" | Out-File -FilePath $env:GITHUB_PATH -Append if: ${{ matrix.mingw_path }}" - run: cargo test --target ${{ matrix.rust_target }} From e349e098b9c9b86527985d71148c052b8bd75e10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=AE=87=E9=80=B8?= Date: Thu, 8 May 2025 20:52:30 +0800 Subject: [PATCH 3/3] ci: test *-gnullvm instead of *-gnu --- .github/workflows/libloading.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/libloading.yml b/.github/workflows/libloading.yml index 8c1ebe290..311271693 100644 --- a/.github/workflows/libloading.yml +++ b/.github/workflows/libloading.yml @@ -40,12 +40,12 @@ jobs: matrix: rust_toolchain: [nightly, stable] rust_target: - - x86_64-pc-windows-gnu + - x86_64-pc-windows-gnullvm - i686-pc-windows-gnu include: - - rust_target: x86_64-pc-windows-gnu - mingw_path: C:/msys64/mingw64/bin - package: mingw-w64-x86_64-gcc + - rust_target: x86_64-pc-windows-gnullvm + mingw_path: C:/msys64/clang64/bin + package: mingw-w64-clang-x86_64-clang - rust_target: i686-pc-windows-gnu mingw_path: C:/msys64/mingw32/bin package: mingw-w64-i686-gcc