Improve documentation for UIKit and AppKit handles#160
Conversation
aee40b9 to
51582c2
Compare
|
Other than the wasm CI failing, which I think is unrelated, it's always good to have usage example docs. |
Yeah, Winit had the same problem, not sure how |
|
Do we have a "wasm expert" to call for things like this? If |
|
That would be @daxpedda |
|
There is no good fix for this, this is a Cargo problem: rust-lang/rfcs#3537. The best we can do here, which we have done in Winit as well, is pin the |
This takes part of the main thread only docs from #154, but with the less strong guarantee of the handle only ever existing on the main thread (as that's probably not yet true in the wild, so I'd rather have consumers to the extra check).