alexcrichton opened PR #12189 from alexcrichton:update-publish to bytecodealliance:main:
This was added in #12164 but I don't believe that it's necessary for that operation. That may change the lock file if the crates weren't previously vendored, so this enables using the network to fetch dependencies in the lock file that aren't present locally.
<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
alexcrichton requested dicej for a review on PR #12189.
alexcrichton requested wasmtime-default-reviewers for a review on PR #12189.
dicej submitted PR review.
alexcrichton commented on PR #12189:
cc @fitzgen from https://github.com/bytecodealliance/wasmtime/pull/12164, wanted to make sure you had a chance to look at this too
fitzgen commented on PR #12189:
My goal was to not hit crates.io and potentially update crates in the lockfile when we were just trying to update the bumped versions in the lockfile. Quite possible I messed that up.
alexcrichton commented on PR #12189:
Ah ok makes sense. We do want to hit the network to fill out any packages that are in the lock file but not present locally, and Cargo by deafult, when updating versions, keeps the old lock file as much as possible. Given that it should be fine to drop
--offlineand when updating versions it shouldn't update versions of other unrelated dependencies. Did you see different behavior though?
fitzgen commented on PR #12189:
Did you see different behavior though?
Not sure, I was trying lots of different stuff, often at the same time (unscientifically).
Let's just move forward here and we can always add
--offlineback if we find a reason we need to.
fitzgen merged PR #12189.
Last updated: Jan 09 2026 at 13:15 UTC