Elina

Results 255 comments of Elina

A page in the documentation about this information would be very helpful

You don't need the cfg_attr if your entire struct cfg'd out. But I can totally see a situation where conditionally applying wasm-bindgen attributes to fields is needed so this issue...

I'm not a fan of this. What about environments other than workerd? Cloudflare isn't the only one providing a worker environment where wasm-bindgen generated code will run. Would we be...

> using wasm-bindgen produced test files to run the tests with your test runner using workerd is a bit of a different use case. That is a use case I...

> I think it would be better to rename the internal `wasm` variable to `__wbinden_wasm` or something like that. > Not entirely sure what this would break though. That shouldn't...

As I understand it, this will allow compiling Rust code to `wasm32-wasi` and executing it _in browser_, right? I'm in favor of this as long as the compilation is for...

> > Question: assuming my understanding is correct (please correct me if it isn't), why not make this the default? > > What do you mean with "default"? The wasi-abi...

To add to what I said previously, I would rather have wasm32-unknown-unknown be compatible with C ABI than wasm32-wasi be supported. wasm32-wasi has functions like file system access which obviously...

@Liamolucko did https://github.com/rustwasm/wasm-bindgen/pull/3595 check off the first part of the plan mentioned in this issue? If so, can you check it off in the issue as well

> My understanding is that this should actually be a fairly simple PR. If I, as someone who has never worked on rustc, were to take up on this, where...