You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some additional context on this issue (thanks @MarshallOfSound!):
electron-rebuild already has an option to use the same clang compiler as Electron itself, and on Linux it will use the same sysroot as well. We should update these flags so that running electron-rebuild uses the same libc++ (and libc++ flags) as the normal Electron build.
This is very open ended, as there are quite a few problems to solve here:
How do you ensure the build flags are the same?
How do you pull the right version of libc++?
Etc.
The end goal here is that native node modules are built in the exact same way as Electron itself, to ensure maximum compatibility.
Activity
VerteDinde commentedon Apr 14, 2021
Some additional context on this issue (thanks @MarshallOfSound!):
electron-rebuildalready has an option to use the same clang compiler as Electron itself, and on Linux it will use the same sysroot as well. We should update these flags so that runningelectron-rebuilduses the same libc++ (and libc++ flags) as the normal Electron build.This is very open ended, as there are quite a few problems to solve here:
The end goal here is that native node modules are built in the exact same way as Electron itself, to ensure maximum compatibility.
test: re-enable nan test: typedarrays-test.js
test: re-enable nan test: typedarrays-test.js
test: re-enable nan test: typedarrays-test.js
test: rebuild nan tests with libc++ and libc++abi (#29281)
test: rebuild nan tests with libc++ and libc++abi (#29281)
test: rebuild nan tests with libc++ and libc++abi (#29294)