Uh oh!
There was an error while loading. Please reload this page.
Windows: No panic if function not (yet) available - #97844
Conversation
In some situations it is possible for required functions to be called before they've had a chance to be loaded. Therefore, we make it possible to recover from this situation simply by looking at error codes.
rust-highfive
commented
Jun 7, 2022
Hey! It looks like you've submitted a new PR for the library teams! If this PR contains changes to any Examples of
|
rust-highfive
commented
Jun 7, 2022
r? @kennytm (rust-highfive has picked a reviewer for you, use r? to override) |
JohnTitor
commented
Jun 16, 2022
The change makes sense to me, confirmed that About KeyedEvent-related fns, these are special cases, right? I couldn't find any official docs but a related PR, #77618. It'd be great if you could elaborate a bit about it, as I'm not an expert on it. |
ChrisDenton
commented
Jun 17, 2022
The KeyedEvent functions are a fallback for Windows 7 which does not have |
JohnTitor
commented
Jun 17, 2022
Makes sense, thanks for clarifying! |
bors
commented
Jun 17, 2022
📌 Commit 34fafd3 has been approved by |
Rollup of 5 pull requests Successful merges: - rust-lang#95392 (std: Stabilize feature try_reserve_2 ) - rust-lang#97798 (Hide irrelevant lines in suggestions to allow for suggestions that are far from each other to be shown) - rust-lang#97844 (Windows: No panic if function not (yet) available) - rust-lang#98013 (Subtype FRU fields first in `type_changing_struct_update`) - rust-lang#98191 (Remove the rest of unnecessary `to_string`) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
In some situations (e.g. #97814) it is possible for required functions to be called before they've had a chance to be loaded. Therefore, we make it possible to recover from this situation simply by looking at error codes.
@rustbot label +O-windows