We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c33f278 commit 3a033f5Copy full SHA for 3a033f5
Rakefile
@@ -48,10 +48,12 @@ elsif Concurrent.allow_c_extensions?
48
## create the compile tasks for the extension gem
49
require 'rake/extensiontask'
50
51
- Rake::ExtensionTask.new('ext', EXT_GEMSPEC) do |ext|
+ Rake::ExtensionTask.new(EXTENSION_NAME, EXT_GEMSPEC) do |ext|
52
ext.ext_dir = 'ext/concurrent'
53
ext.lib_dir = 'lib/concurrent'
54
ext.source_pattern = '*.{c,h}'
55
+ ext.cross_compile = true
56
+ ext.cross_platform = ['x86-mingw32', 'x64-mingw32']
57
end
58
59
ENV['RUBY_CC_VERSION'].to_s.split(':').each do |ruby_version|
0 commit comments