Working on utilising FFI with Raylib and whenever I'm trying to run the code for test purposes it panics with following:
:1:0: [W89] Syntax warning: Unused global of type `Vector2`
1 ╭─
┆ ╭──────
┆ ╰─ Unused global of type `Vector2`
:1:0: [W89] Syntax warning: Unused global of type `Image`
1 ╭─
┆ ╭────
┆ ╰─ Unused global of type `Image`
thread 171263 panic: reached unreachable code
It seems to be related to global extern structs within FFI call that are not used in the Buzz code.
Full code:
Working on utilising FFI with Raylib and whenever I'm trying to run the code for test purposes it panics with following:
It seems to be related to global extern structs within FFI call that are not used in the Buzz code. Full code:
Removing all instances of Image and Vector2 (including functions) will result in successful printout of "hello world"