summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2025-12-03 16:55:26 -0500
committerAlan Wu <XrXr@users.noreply.github.com>2025-12-05 15:49:25 -0500
commit2bc9b5a85454d2536d18be32e0302842bde18a3f (patch)
treefbb3dd611074597fd2d7804fd0c0f41d0d1a16c7
parentfb72ff7be0b927cdad518da4eca041c191a91404 (diff)
tool/update-deps: Skip ZJIT and YJIT+ZJIT build objects
-rwxr-xr-xtool/update-deps2
1 files changed, 2 insertions, 0 deletions
diff --git a/tool/update-deps b/tool/update-deps
index c927d2483e..2d4a5674be 100755
--- a/tool/update-deps
+++ b/tool/update-deps
@@ -326,6 +326,8 @@ def read_make_deps(cwd)
deps.delete_if {|dep| /\.time\z/ =~ dep} # skip timestamp
next if /\.o\z/ !~ target.to_s
next if /libyjit.o\z/ =~ target.to_s # skip YJIT Rust object (no corresponding C source)
+ next if /libzjit.o\z/ =~ target.to_s # skip ZJIT Rust object (no corresponding C source)
+ next if /target\/release\/libruby.o\z/ =~ target.to_s # skip YJIT+ZJIT Rust object (no corresponding C source)
next if /\.bundle\// =~ target.to_s
next if /\A\./ =~ target.to_s # skip rules such as ".c.o"
#p [curdir, target, deps]