Skip to content

Commit

Permalink
core/main.lua: Running on non-Linux/x64 is now an error
Browse files Browse the repository at this point in the history
Previously a warning but promoted on suggestion from @wingo.
  • Loading branch information
lukego committed Feb 11, 2016
1 parent aba5bbe commit 4f54fa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function main ()
require "lib.lua.strict"
-- Warn on unsupported platforms
if ffi.arch ~= 'x64' or ffi.os ~= 'Linux' then
io.stderr:write("Warning: "..ffi.os.."/"..ffi.arch.." is not a supported platform\n")
error("fatal: "..ffi.os.."/"..ffi.arch.." is not a supported platform\n")
end
initialize()
local args = parse_command_line()
Expand Down

0 comments on commit 4f54fa0

Please sign in to comment.