All techniques for implementing continuations involve some funky stack manipulations, and I don't recall seeing anything suggesting cranelift abstract machine lets you do things like linked-list callstacks.
https://github.com/bytecodealliance/wasmtime/pull/9078
And you can always call a trampoline implemented in inline assembly which changes the stack pointer as necessary. For example Wasmtime has a fiber implementation implemented in inline asm.
Last updated: Jan 24 2025 at 00:11 UTC