Skip to content

Conversation

@itsamine27
Copy link
Contributor

  • Tested on all platforms changed
  • Added an entry to the changelog module if knowledge of this change could be valuable to users
  • Updated documentation to reflect any user-facing changes, including notes of platform-specific behavior
  • Created or updated an example program if it would help users understand this functionality
    This PR fixes Issue Windows: INIT_MAIN_THREAD_ID uses wrong ABI #4435 by correcting the ABI used in the Windows global constructor INIT_MAIN_THREAD_ID. The function was previously declared with the Rust ABI (fn()), which is not guaranteed to match the Windows runtime expectations. It has now been updated to use the proper C ABI (extern "C" fn()), ensuring stable and correct behavior when the runtime invokes the constructor.

@kchibisov kchibisov added this to the Version 0.30.13 milestone Dec 16, 2025
@kchibisov kchibisov merged commit 5633306 into rust-windowing:master Dec 16, 2025
57 checks passed
Legend-Master added a commit to tauri-apps/tao that referenced this pull request Dec 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants