alexcrichton opened PR #12760 from alexcrichton:adjust-map-depth to bytecodealliance:main:
Previously it added 2 but this meant that it was out-of-sync with the fuzz test case generator which only accounted for 1 for each level of map. There's no need to have an extra layer for maps, so adjust the depth to add 1 instead of 2 which fixes the fuzz test case in question.
<!--
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 cfallin for a review on PR #12760.
alexcrichton requested wasmtime-core-reviewers for a review on PR #12760.
alexcrichton added the label fuzz-bug on PR #12760.
alexcrichton commented on PR #12760:
cc @yordis (to make you aware)
yordis submitted PR review.
cfallin submitted PR review.
cfallin added PR #12760 Adjust depth calculation of map<K, V> type to the merge queue.
cfallin merged PR #12760.
cfallin removed PR #12760 Adjust depth calculation of map<K, V> type from the merge queue.
Last updated: Mar 23 2026 at 16:19 UTC