Skip to content

Commit

Permalink
Build x64-mingw-ucrt gem
Browse files Browse the repository at this point in the history
RubyInstaller 3.1 has switched C-Runtime to UCRT so that RUBY_PLATFORM
has been changed to `x64-mingw-ucrt`:

https://rubyinstaller.org/2021/12/31/rubyinstaller-3.1.0-1-released.html

Signed-off-by: Takuro Ashie <[email protected]>
  • Loading branch information
ashie committed Feb 2, 2022
1 parent a606033 commit ed962c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace :build do
desc 'Build gems for all platforms'
task :all do
Bundler.with_clean_env do
%w[ruby x86-mingw32 x64-mingw32].each do |name|
%w[ruby x86-mingw32 x64-mingw32 x64-mingw-ucrt].each do |name|
ENV['GEM_BUILD_FAKE_PLATFORM'] = name
Rake::Task["build"].execute
end
Expand Down

0 comments on commit ed962c9

Please sign in to comment.