https://github.com/minemobs/bun-ffi-crash
https://github.com/minemobs/bun-ffi-crash
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/minemobs/bun-ffi-crash
- Owner: Minemobs
- Created: 2024-01-03T13:53:50.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-03T13:55:24.000Z (over 1 year ago)
- Last Synced: 2025-01-05T23:42:42.406Z (6 months ago)
- Language: Python
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bun-ffi-bug
This is a small reproduction of a bug that occures when there are too many FFI functions.
It may not work on MacOS as this was made on WSL
To generate the files run `python main.py`
Then compile the shared library, if you are on Linux, you can run `gcc -c functions.c -fPIC -o functions.o && gcc -shared -o functions.so functions.o`