Windows luac.cross fails in require
HHHartmann opened this issue · comments
Gregor Hartmann commented
Expected behavior
run NTest_NTest.lua without failure on windows.
Actual behavior
prints
d:\luac.cross_3.0-release_20201107_x64_float_Lua51.exe: NTest_NTest.lua:1: module 'NTest' not found:
no field package.preload['NTest']
no file '/rfs/NTest.lua'
no file '/rfs/NTest.lc'
no file '/mmc/NTest.lua'
no file '/mmc/NTest.lc'
no file '/rom/NTest.lua'
no file '/rom/NTest.lc'
Test code
Use luac.cross.exe
have following files in current directory:
tests\NTest\NTest.lua
tests\NTest\NTest_NTest.lua
execute
luac.cross.exe -e NTest_NTest.lua
NodeMCU startup banner
current dev or release branch
Hardware
generic windows computer
Gregor Hartmann commented
fixed in #3336