Open crystalthoughts opened 4 months ago
I simpler way to reproduce this issue is to follow the instructions at https://bun.sh/docs/api/ffi. The example of a Zig function that adds two integers gives me the same error when I run the TypeScript code. I copied the code from that documentation page exactly and I get the error "ERR_DLOPEN_FAILED: Failed to open library. This is usually caused by a missing library or an invalid library path."
What version of Bun is running?
1.1.12
What platform is your computer?
Microsoft Windows NT 10.0.19045.0 x64
What steps can reproduce the bug?
When running a compiled exe the following error is reported:
What is the expected behavior?
It should run as if bun ./main.ts was called. Libraries could be packaged in?
What do you see instead?
Additional information
No response