From 3eee489b0c3accdcd4daa312cf18530a8611214e Mon Sep 17 00:00:00 2001 From: Chengzhong Wu Date: Mon, 26 Oct 2026 15:42:28 -0400 Subject: [PATCH] fix(update-v8): resolve temporal_capi deps in vendored sources --- lib/update-v8/updateCrates.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/update-v8/updateCrates.js b/lib/update-v8/updateCrates.js index de3f6d73..672cb3c3 100644 --- a/lib/update-v8/updateCrates.js +++ b/lib/update-v8/updateCrates.js @@ -31,9 +31,16 @@ function enumerateTemporalDependencies() { return { title: 'Enumerate Temporal dependency tree', task: async(ctx) => { + // Resolve against the vendored crates rather than crates.io. Chromium patches some + // vendored manifests (e.g. relaxing version pins), and the lockfile only resolves + // with those patches applied. const tree = await forceRunAsync( ctx.cargo, - ['tree', '-Z', 'bindeps', '--package', 'temporal_capi', '--prefix', 'none'], + [ + 'tree', '-Z', 'bindeps', '--package', 'temporal_capi', '--prefix', 'none', + '--config', 'source.crates-io.replace-with="vendored-sources"', + '--config', 'source.vendored-sources.directory="vendor"' + ], { ignoreFailure: false, captureStdout: true,