You need #[no_mangle]
, but if I add that...
[1] 39916 segmentation fault cargo run
Process 39946 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
...fun times.
You need #[no_mangle]
, but if I add that...
[1] 39916 segmentation fault cargo run
Process 39946 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
...fun times.