Skip to content

Commit 6ca3298

Browse files
committed
Remove warning when generating $(arch)-fake.rb
$ rm -f *-fake.rb && make test-precheck RUBYOPT=-w >/dev/null build/arm64-darwin24-fake.rb:28: warning: ::Ruby is reserved for Ruby 3.5
1 parent 68e073d commit 6ca3298

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

template/fake.rb.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ class Object
4949
else%><%=v.inspect%><%end%>
5050
% }
5151
end
52+
v=$VERBOSE;$VERBOSE=nil;module Ruby; end;$VERBOSE=v
5253
module Ruby
5354
constants.each {|n| remove_const n}
5455
% arg['versions'].each {|n, v|

0 commit comments

Comments
 (0)