Skip to content

Commit d60da0c

Browse files
committed
Merge pull request #371 from ruby-concurrency/remove-ext-warning
Removed unnecessary extension warnings.
2 parents 5e1e1e9 + 2f72918 commit d60da0c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/concurrent/utility/native_extension_loader.rb

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ def allow_c_extensions?
2525
# may be a Windows cross-compiled native gem
2626
require "concurrent/#{RUBY_VERSION[0..2]}/extension"
2727
@c_ext_loaded = true
28-
end,
29-
lambda do
30-
warn 'Performance on MRI may be improved with the concurrent-ruby-ext gem. Please see http://concurrent-ruby.com'
3128
end]
3229

3330
tries.each do |try|
@@ -45,7 +42,7 @@ def allow_c_extensions?
4542
require 'concurrent_ruby_ext'
4643
@java_ext_loaded = true
4744
rescue LoadError
48-
warn 'Performance on JRuby may be improved by installing the pre-compiled Java extensions. Please see http://concurrent-ruby.com'
45+
# move on with pure-Ruby implementations
4946
end
5047
end
5148
end

0 commit comments

Comments
 (0)