-
Notifications
You must be signed in to change notification settings - Fork 51
Description
Was working on building a native plugin for nwjs (I use cmake-js actually) but I realized this would at least provide me the v8 and node headers... which works about 99%, when using array buffers, for some reason v8 defers to unique_ptr<BackingStore> which then requires a bit of the libc++ runtime that it was built with....
llvm itself doesn't come with libc++.
I'm actually building on windows, and the llvm that is used is microsofts (though worst comes to worst, I can manually override that)
I found the libc++ that is part of nwjs's build, and at last got the headers (though I was missing __config.site and ___assertions(something)... I found those in some other directories - but the config.site was missing a LLVM_HARDENING_MODE_DEFAULT (I'm sure that's defined in the build somewhere?)
But then, I'm missing .lib parts
the lack of a BackingStore::delete is fairly obnoxious - this is where I've previously also had issues with Node and Visual Studio release and debug runtimes - if the new() is implemented in node (which it is to get a backing store), the delete is implemented locally, so on garbage collection boom because debug cannot deallocate memory allocated by release and vice versa...
Don't know why this backing store is so different to everything else.