Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Possible rust issue on -current
On Thu, 20 Aug 2020 05:04:37 +0200
Tobias Nygren <tnn%NetBSD.org@localhost> wrote:
> This doesn't sound like a rust problem but rather some crate is trying
> to do something nonportable while attempting to fix a portability
> issue. If it is really important to detect at run time if some code
> runs on the main thread (doubtful) you should patch the code to mark
> the main thread as such on startup with one of the available portable
> thread local storage APIs. Alternatively you can patch out the entire
> check from the offending create with a pkgsrc patch if you know for
> sure it's initialization is running on the main thread.
The upstream project created a tentative fix for this issue already.
https://github.com/rust-windowing/winit/pull/1664/commits/b1a90fd5c52ac2aff45558ff932a61892859859e
I added it to wip. The package seems to works fine for me now.
Shows a terminal window.
-Tobias
Home |
Main Index |
Thread Index |
Old Index