Tested using WASI-SDK 20 and wasmtime 14. <!-- gh-linked-prs --> ### Linked PRs * gh-112124 * gh-114010 <!-- /gh-linked-prs -->