Open jinzhongjia opened 5 months ago
api adaption is ok, but I need to write examples and import dynamic link library
The current bunjs embedded file function is not perfect, and there seems to be some strange problems.
and the dlopen
has an issue: https://github.com/oven-sh/bun/issues/6517
So I decided to stop bunjs adaptation for the time being (the possible introduction of dynamic libraries failed due to this issue)
With the release of bun1.1, it seems possible to continue this
At present, the dynamic link library of bun is loaded normally, but when writing a callback function, an inexplicable stack overflow occurs.
Now, we can do this:
However, I haven't written the actual code to introduce a dynamic link library, so it's direct
dlopen
for now