Results 79 comments of Sam Denty

`Atomics.waitAsync` has been merged in webkit, safari should be soon https://bugs.webkit.org/show_bug.cgi?id=241414

ping @zebp i wonder if you know who to hit up to get this in, this is blocking me from using worker-rs

I can reliable reproduce this in a cloudflare worker as well @alexcrichton, how should I proceed to debug?

Ok so I've managed to get a local build of wasm-bindgen-futures, compiling inside the cloudflare worker that's erroring. I've narrowed it down to this function https://github.com/rustwasm/wasm-bindgen/blob/3c1f5a9e3ee197988ab9afe35d7244b751ad8cbb/crates/futures/src/task/singlethread.rs#L100 Calling the poll method,...

the error stack doesn't reveal much: ``` Error at __wbg_new_abda76e883ba8a5f (shim.js:415:19) at console_error_panic_hook::hook::h36ed105c675de4f7 (wasm://wasm/00f1df7a:wasm-function[1750]:0x181a6e) at core::ops::function::Fn::call::h9f9f084f27f78c00 (wasm://wasm/00f1df7a:wasm-function[6876]:0x2046af) at std::panicking::rust_panic_with_hook::had8acafc277b06ff (wasm://wasm/00f1df7a:wasm-function[2361]:0x1a7e35) at std::panicking::begin_panic_handler::{{closure}}::h1f07988bb2cf1601 (wasm://wasm/00f1df7a:wasm-function[2952]:0x1c3341) at std::sys_common::backtrace::__rust_end_short_backtrace::h9b10ea262b3bcf96 (wasm://wasm/00f1df7a:wasm-function[5362]:0x1fb990) at rust_begin_unwind (wasm://wasm/00f1df7a:wasm-function[4162]:0x1e79aa) at...

the reproduction I can come up with that shows the error: ```bash git clone https://github.com/samdenty/github-icons cd api wrangler dev ``` Once it prompts, turn on local mode by pressing `L`....

Interestingly enough sometimes I get this error: ```log TypeError: Found invalid object in transferList panicked at 'TypeError: Found invalid object in transferList', api/src/lib.rs:49:1 Stack: Error: at he (/Users/samdenty/Projects/github-icons/api/build/worker/shim.mjs:17:1263) at console_error_panic_hook::hook::hfc8ebd4821eabe90...

has anyone tried to get this working with C++ macro for emscripten like mentioned by @jbms [here](https://github.com/rustwasm/wasm-bindgen/issues/3939#issuecomment-2083619243), cause this sounds interesting for doing stuff like porting & splitting CLIs (written...