Skip to content

[fix][win32] Enable running under Bun and Electron#7

Merged
kofi-q merged 1 commit into
mainfrom
fix-win32-non-node-runtimes
Aug 3, 2025
Merged

[fix][win32] Enable running under Bun and Electron#7
kofi-q merged 1 commit into
mainfrom
fix-win32-non-node-runtimes

Conversation

@kofi-q
Copy link
Copy Markdown
Owner

@kofi-q kofi-q commented Aug 3, 2025

Addressing: #3, #5

Overview

Clients running non-Node.js runtimes on Windows were previously crashing when importing pcsc-mini, due to a limitation in how Node-API symbol lookups happen for addons built with Tokota - more context in kofi-q/tokota#13.

Upgrading the Tokota dependency to the current latest to get the fix, which involves generating separate optional packages for each supported runtime. This is hopefully temporary, until there's support added to Zig for delay-loading symbols from the calling runtime instead of a hardcoded executable name.

@kofi-q kofi-q merged commit 822e710 into main Aug 3, 2025
2 checks passed
@kofi-q kofi-q deleted the fix-win32-non-node-runtimes branch August 3, 2025 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant