Strange behavior of library files in runtimepath
After following crate setup section in examples, everything worked, until I tried standard plugin refresh without neovim restart. The problem can be simulated with next lua snippet:
-- crash.lua
vim.o.rtp = '.,' .. vim.o.rtp
package.loaded.foo = nil
Foo = require'foo'
package.loaded.foo = nil
Foo = require'foo'
Which on execution crashes, and reports: Illegal instruction (core dumped). I tried different neovim versions - every version crashes. I suspect neovim has problem with loading library files (which can be further tested with compiled C library). Another thing I found out is that runtimepath has strange behavior when shared object files are concerned (Order of finding plugins is not respected). I am posting this Issue here because I think it affects usage of this plugin more than neovim itself. Maybe I can dig deeper (I am not very experienced but would like to help).
I am having the same issue. I am using the crate setup example on Windows and Neovim crashes when loading the DLL file.