Hello,
Loading an incorrect library file with ffi.load results in a crash. I am not sure this applies to correct library files either because I haven't successfully loaded a native library on the Quest yet.
Here's an example:
local ffi = type(jit) == 'table' and jit.status() and require 'ffi'
if not ffi then return end
print("Loading incorrect lib file")
local lib = ffi.load("anything")
print("The program will crash before this line is printed")
Hello, Loading an incorrect library file with ffi.load results in a crash. I am not sure this applies to correct library files either because I haven't successfully loaded a native library on the Quest yet. Here's an example: