Skip to content

Commit 42ca752

Browse files
committed
Platform-neutral build no longer has native extensions.
1 parent c736e1a commit 42ca752

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

concurrent-ruby.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Gem::Specification.new do |s|
2525
if defined?(JRUBY_VERSION)
2626
s.files += Dir['lib/concurrent_ruby_ext.jar']
2727
s.platform = 'java'
28-
else
28+
elsif ! ENV['BUILD_PURE_RUBY']
2929
s.extensions = 'ext/concurrent_ruby_ext/extconf.rb'
3030
s.files += Dir['ext/**/*.{h,c,cpp}']
3131
end

lib/concurrent/atomic.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
require "concurrent/atomic_reference/#{ruby_engine}"
1313
rescue LoadError
14-
warn "Unsupported Ruby engine `#{RUBY_ENGINE}', using less-efficient Atomic impl"
14+
warn 'Compiled extensions not installed, pure Ruby Atomic will be used.'
1515
end
1616

1717
if defined? Concurrent::JavaAtomic

0 commit comments

Comments
 (0)