ulan opened PR #8614 from ulan:fix-mach2-dep to bytecodealliance:main:
The toml file specifies version
0.4.1instead of0.4.2.Using version
0.4.1produces a compile error:error[E0432]: unresolved import `mach2::ndr` --> external/crate_index__wasmtime-runtime-20.0.2/src/sys/unix/machports.rs:44:12 | 44 | use mach2::ndr::*; | ^^^ could not find `ndr` in `mach2`That's because
ndrwas added in version0.4.2.Note that the lock file specifies version
0.4.2which explains why this error doesn't happen normally.
ulan requested wasmtime-default-reviewers for a review on PR #8614.
ulan requested cfallin for a review on PR #8614.
cfallin submitted PR review:
Thanks!
cfallin commented on PR #8614:
@ulan if you want to cherrypick this onto
release-21.0.0in a separate PR too, I'm happy to approve that as well. The release branched last week and is going out next week so we'll want this fix there too, probably.
@ulan if you want to cherrypick this onto release-21.0.0 in a separate PR too, I'm happy to approve that as well. The release branched last week and is going out next week so we'll want this fix there too, probably.
Thanks for the offer! We solved this on our end, so we don't need the cherrypick. I am happy to prepare the cherrypick PRs if you think it would be worthwhile for other users (which seems unlikely considering that no one reported the issue).
cfallin commented on PR #8614:
For completeness we should probably do so; I'm happy to do it quickly otherwise.
For completeness we should probably do so; I'm happy to do it quickly otherwise.
Sounds good! I'll cherry pick to 21.
The release branched last week and is going out next week so we'll want this fix there too, probably.
Do you mean that would be
release-22.0.0that would also need this fix?
cfallin merged PR #8614.
cfallin commented on PR #8614:
Oh, no, I meant that
release-21.0.0branched last week, then waits for two weeks (to give time to find and cherrypick issues just like this :-) ) and releases next week. Thanks!
The cherrypick: https://github.com/bytecodealliance/wasmtime/pull/8615
Last updated: Dec 06 2025 at 06:05 UTC