forked from kozorizki/binaryen
Rather than always do await export() now we might stash the Promise on the side, and execute it later, after other stacks are executed and perhaps also saved. To do this, rewrite the logic for calling the exports in a more flexible manner. (That required altering the random seed in fuzz_shell_orders.wast, to preserve the current order it was emitting.) We do not fuzz with top-level await, so the output here looks a bit out of order, but it does still end up with interleaved executions, which I think is useful for fuzzing.