зеркало из https://github.com/github/ruby.git
transform_mjit_header.rb: drop obsoleted debug code
Now RubyCI is stable for this part. We no longer use this. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
decb59ba83
Коммит
5053851ef8
|
@ -90,14 +90,6 @@ module MJITHeader
|
|||
unless system(cmd, err: File::NULL)
|
||||
out = IO.popen(cmd, err: [:child, :out], &:read)
|
||||
STDERR.puts "error in #{stage} header file:\n#{out}"
|
||||
|
||||
if match = out.match(/error: conflicting types for '[^']+'/)
|
||||
STDERR.puts "\nDumping information for debugging:\n"\
|
||||
"[ORIGINAL_HEADER_BEGIN]-----------------\n#{File.binread(ARGV[1])}\n"\
|
||||
"[ORIGINAL_HEADER_END]-----------------\n\n"\
|
||||
"[TRANSFORMED_HEADER_BEGIN]-----------------\n#{code}\n"\
|
||||
"[TRANSFORMED_HEADER_END]-----------------\n"
|
||||
end
|
||||
exit false
|
||||
end
|
||||
end
|
||||
|
|
Загрузка…
Ссылка в новой задаче