Remove unused code to old Visual Studio in tasks/toolchains/visualcpp.rake

This commit is contained in:
KOBAYASHI Shuji
2019-10-04 09:31:54 +09:00
parent 3d2781311e
commit edd412966e
-12
View File
@@ -54,16 +54,4 @@ MRuby::Toolchain.new(:visualcpp) do |conf, _params|
end
conf.file_separator = '\\'
# Unreliable detection and will result in invalid encoding errors for localized versions of Visual C++
# if require 'open3'
# Open3.popen3 conf.cc.command do |_, _, e, _|
# if /Version (\d{2})\.\d{2}\.\d{5}/ =~ e.gets && $1.to_i <= 17
# m = "# VS2010/2012 support will be dropped after the next release! #"
# h = "#" * m.length
# puts h, m, h
# end
# end
# end
end