Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extensions with ffi.Library can not be loaded after 1.78.0 #181678

Open
luowenfeng opened this issue May 6, 2023 · 1 comment
Open

extensions with ffi.Library can not be loaded after 1.78.0 #181678

luowenfeng opened this issue May 6, 2023 · 1 comment
Assignees

Comments

@luowenfeng
Copy link

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version: 1.78.0
  • OS Version: Windows 10/WIndows 11 (64bit)

Steps to Reproduce:

  1. follow https://code.visualstudio.com/api/get-started/your-first-extension, create a new extension
  2. add ffi-napi to this extension, call ffi.Library in any place in your source code.
  3. activate this extension, and see "Activating extension 'xxx' failed: Error in native callback."
@gjsjohnmurray
Copy link
Contributor

Maybe a consequence of 1.78 being the first Stable version using Electron 22 (https://code.visualstudio.com/updates/v1_78#_Electron-22-update)

See https://code.visualstudio.com/updates/v1_77#_upcoming-electron-22-update-may-require-changes-to-native-modules for the advance announcement about this, and #177338 for technical details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants