daxpedda
daxpedda
Coming from #14225: I propose allowing `cargo rustc --crate-type type` to be used for binaries. This change should be [easy to implement](https://github.com/rust-lang/cargo/blob/d1a62dfa83fb7a75bcc068e3b881238f931bd09c/src/cargo/ops/cargo_compile/mod.rs#L897-L906) and should improve the situation outlined in OP.
> @daxpedda If I understand it correctly, the `fn main()` is in your `lib.rs`, and you'd like to build a binary crate also from the same `lib.rs` file, without exporting...
AFAIK capturing is necessary for "pointer focus" to work correctly. This is the concept of having mouse events continue to be sent to the window where the input was started....
> Edit: Or I guess this is the "bundler" output? I didn't test yet if it works with imports. Unfortunately I have absolutely no idea about Deno or the bundler...
That's definitely in scope.
> In general, my main issue is not that to e.g. track fingers like you did, but which styles + finger should result in primary tracking stuff. For example, all...
I fixed this in https://github.com/rustwasm/wasm-bindgen/pull/4267.
Further addressed in https://github.com/rustwasm/wasm-bindgen/pull/4320.
> cc: @daxpedda (hope you don't mind the tag) I appreciate it actually, so I can help out if necessary! > I was under the impression that `std::time` and `std::thread::sleep`...
Note that in the meantime we have addressed this without specific type support: #3962.