I use monorepo structure which contains a rust binary and a napi-rs lib
but recently I rebuild this project, get the error
symbol not found in flat namespace '_napi_create_error'
is there anybody can help me with this?
I use monorepo structure which contains a rust binary and a napi-rs lib
but recently I rebuild this project, get the error
symbol not found in flat namespace '_napi_create_error'
is there anybody can help me with this?
Can you reduce your code and project to a minimal working example that demonstrates the issue?
FYI: the initial napi-rs project's crate-type
is cdylib
, but cdylib can't be linked, so I added rlib