Mercurial > prosody-hg
comparison util/dependencies.lua @ 11958:31f83a645ce6
util.dependencies: Consider Lua 5.4 Supported:tm:
I have been running my own server exclusively on Lua 5.4 for months and
apart from packaging issues I remember on major issues.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sun, 28 Nov 2021 23:12:25 +0100 |
| parents | a5acd6354845 |
| children | 814b750aa2d0 |
comparison
equal
deleted
inserted
replaced
| 11957:3a7ce7df7806 | 11958:31f83a645ce6 |
|---|---|
| 151 | 151 |
| 152 return not fatal; | 152 return not fatal; |
| 153 end | 153 end |
| 154 | 154 |
| 155 local function log_warnings() | 155 local function log_warnings() |
| 156 if _VERSION > "Lua 5.3" then | 156 if _VERSION > "Lua 5.4" then |
| 157 prosody.log("warn", "Support for %s is experimental, please report any issues", _VERSION); | 157 prosody.log("warn", "Support for %s is experimental, please report any issues", _VERSION); |
| 158 end | 158 end |
| 159 local ssl = softreq"ssl"; | 159 local ssl = softreq"ssl"; |
| 160 if ssl then | 160 if ssl then |
| 161 local major, minor, veryminor, patched = ssl._VERSION:match("(%d+)%.(%d+)%.?(%d*)(M?)"); | 161 local major, minor, veryminor, patched = ssl._VERSION:match("(%d+)%.(%d+)%.?(%d*)(M?)"); |
