Closed moteus closed 7 years ago
Thanks for the heads up. I don't have Windows so it's kind of hard for me to test that particular platform. I'll fix the build type in the next few days (there's a hurricane headed my way so please excuse the delay).
If you aren't using RAINS (https://britram.github.io/rains-prototype/) then you can ignore this (the issue is the random nature of Lua hash tables---I'll have to fix the test). That the rest of the tests passed means it does work.
You can use e.g. AppVeyor. For module without external deps its really very easy. I just try hererocks and it works quite well. Checkout my appveyor.yml file for luacom
Okay, now I remember why I used "make" instead of "builtin"---I need to use C99. If I use the builtin, it fails to compile under the Unix system I use (my C compiler does not default to C99, although it does support it).
I think I solved the issue. I have just released 1.2.1.
Just note. MS add C99 since MSVC 2015. So your code does not compile with older versions. I test it with MSVC 2010. Also I do not use gcc/mingw so not sure which whey better for it.
I can not install it on Windows/MSVC with LuaRocks. I really do not understand why need use build.type
make
in such rockspecs instead ofbuiltin
. In some cases LuaRocks not enouth but not in this. This works on my system.But it fail
rains
test