From 60c66740a11a74e84b7f9ba4eb372cffd7c72490 Mon Sep 17 00:00:00 2001 From: Andy Pfister Date: Tue, 19 Nov 2024 11:16:22 +0100 Subject: [PATCH] Drop support for 32-bit Windows --- .github/workflows/ci.yml | 1 - CHANGELOG.md | 1 + Rakefile | 4 ---- ext/tiny_tds/extconf.rb | 1 - test/gem_test.rb | 1 - 5 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0497589c..8477010b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,6 @@ jobs: matrix: platform: - "x64-mingw32" - - "x86-mingw32" - "x64-mingw-ucrt" name: cross-compile-windows runs-on: ubuntu-22.04 diff --git a/CHANGELOG.md b/CHANGELOG.md index 9761fbbb..14efc701 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ * Drop support for Ruby < 2.7 * Drop support for SQL Server < 2017 * Drop support for FreeTDS < 1.0 +* No longer provide a 32-bit Windows build * Raise error if FreeTDS is unable to sent command buffer to the server * Use freetds v1.4.23, libiconv v1.17 and OpenSSL v3.4.0 for Windows builds diff --git a/Rakefile b/Rakefile index be8c60e6..f7580918 100644 --- a/Rakefile +++ b/Rakefile @@ -11,10 +11,6 @@ ruby_cc_ucrt_versions = "3.3.0:3.2.0:3.1.0".freeze ruby_cc_mingw32_versions = "3.0.0:2.7.0".freeze GEM_PLATFORM_HOSTS = { - 'x86-mingw32' => { - host: 'i686-w64-mingw32', - ruby_versions: ruby_cc_mingw32_versions - }, 'x64-mingw32' => { host: 'x86_64-w64-mingw32', ruby_versions: ruby_cc_mingw32_versions diff --git a/ext/tiny_tds/extconf.rb b/ext/tiny_tds/extconf.rb index b1beabc4..d0691792 100644 --- a/ext/tiny_tds/extconf.rb +++ b/ext/tiny_tds/extconf.rb @@ -22,7 +22,6 @@ def do_help # Make sure to check the ports path for the configured host architecture = RbConfig::CONFIG['arch'] -architecture = "x86-mingw32" if architecture == "i386-mingw32" project_dir = File.expand_path("../../..", __FILE__) freetds_ports_dir = File.join(project_dir, 'ports', architecture, 'freetds', FREETDS_VERSION) diff --git a/test/gem_test.rb b/test/gem_test.rb index 48b7a631..b05a8edc 100644 --- a/test/gem_test.rb +++ b/test/gem_test.rb @@ -158,7 +158,6 @@ class GemTest < MiniTest::Spec { 'x64-mingw-ucrt' => 'x64-mingw-ucrt', 'x64-mingw32' => 'x64-mingw32', - 'x86-mingw32' => 'x86-mingw32', 'x86_64-linux' => 'x86_64-linux', }.each do |host,expected| describe "on a #{host} architecture" do