diff options
author | Jemma Issroff <jemmaissroff@gmail.com> | 2023-06-20 11:48:12 -0400 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2023-06-21 11:25:39 -0700 |
commit | d53e1f42ff183af96832f6ede8e54afff6c8082f (patch) | |
tree | 3676be356b3548ce2dcb713acda4eb25a158670d /tool | |
parent | 03f1a6c4c57c469e8fb5858cf9676b6479f4610d (diff) | |
download | ruby-d53e1f42ff183af96832f6ede8e54afff6c8082f.tar.gz |
[Feature #19741] Add yarp to builds
Add yarp to common.mk and windows builds to enable us to run yarp
correctly with CI.
Diffstat (limited to 'tool')
-rwxr-xr-x | tool/leaked-globals | 2 | ||||
-rwxr-xr-x | tool/update-deps | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tool/leaked-globals b/tool/leaked-globals index e079b0efc5..be2e377118 100755 --- a/tool/leaked-globals +++ b/tool/leaked-globals @@ -55,7 +55,7 @@ IO.foreach("|#{NM} #{ARGV.join(' ')}") do |line| next unless /[A-TV-Z]/ =~ t next unless n.sub!(/^#{SYMBOL_PREFIX}/o, "") next if n.include?(".") - next if /\A(?:Init_|InitVM_|RUBY_|ruby_|rb_|[Oo]nig|dln_|coroutine_)/ =~ n + next if /\A(?:Init_|InitVM_|RUBY_|ruby_|rb_|yp_|[Oo]nig|dln_|coroutine_)/ =~ n next if REPLACE.include?(n) puts col.fail("leaked") if count.zero? count += 1 diff --git a/tool/update-deps b/tool/update-deps index 5e241aa819..09c5b5e133 100755 --- a/tool/update-deps +++ b/tool/update-deps @@ -173,7 +173,7 @@ def in_makefile(target, source) target = target.to_s source = source.to_s case target - when %r{\A[^/]*\z}, %r{\Acoroutine/} + when %r{\A[^/]*\z}, %r{\Acoroutine/}, %r{\Ayarp/} target2 = "#{target.sub(/\.o\z/, '.$(OBJEXT)')}" case source when *FILES_IN_SOURCE_DIRECTORY then source2 = "$(top_srcdir)/#{source}" |