-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Warning: Not implemented: process.dlopen doesn't support 'flags' argument #20075
Comments
@janpio would you be fine if we just ignored this field altogether? It appears the library we use for opening N-API files doesn't support "deepbind" flag anyway: https://docs.rs/libloading/latest/libloading/os/unix/index.html |
I don't have the slightest idea 🤷 😆 I see that it was introduced via prisma/prisma#18426, and before we basically used a lazy |
Yeah should be fine. We use the flag to make the dynamic linker resolve OpenSSL symbols from As far as I can tell, Deno only exports napi symbols, so it should be totally safe to ignore. |
Sounds good, I'll open a PR that removes the warning tonight and it will be released next week in v1.36.2. |
Actually, looking at your But looking at the dynamic symbols table in the deno binary, the only thing with global binding and default visibility that strikes my attention as relevant to Prisma is a bunch of sqlite symbols, and those shouldn't pose a problem even when exported since we statically link sqlite. |
A user reported that when using Prisma with Deno 1.36, you get the following warning right now:
prisma/prisma#2452 (comment)
Seems #19860 implemented support for
process.dlopen
, but not theflags
argument.Prisma indeed uses
flags
: https://github.com/prisma/prisma/blob/3276015cee8358b3706b5e3014cbafae7b8eb529/packages/client/src/runtime/core/engines/library/DefaultLibraryLoader.ts#L39-L57C56The text was updated successfully, but these errors were encountered: