diff options
| author | ruki <[email protected]> | 2023-06-12 22:47:01 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-06-12 22:47:01 +0800 |
| commit | 2018f5b4c66b89a72c02fd771433a1ce07090dea (patch) | |
| tree | e9e34e00cfd4b2b6eb295dd4baa07778a8943008 | |
| parent | 9379eb4c47b1bdece36b6f59061c4b1c1ce08b49 (diff) | |
check readonly configs in package #3829
| -rw-r--r-- | xmake/modules/private/action/require/impl/package.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/private/action/require/impl/package.lua b/xmake/modules/private/action/require/impl/package.lua index 327ea2588..a64e9f565 100644 --- a/xmake/modules/private/action/require/impl/package.lua +++ b/xmake/modules/private/action/require/impl/package.lua @@ -516,6 +516,7 @@ function _finish_requireinfo(requireinfo, package) -- we need ensure readonly configs for _, name in ipairs(table.keys(requireinfo.configs)) do if package:extraconf("configs", name, "readonly") then + wprint("configs.%s is readonly in package(%s), it's always %s", name, package:name(), package:extraconf("configs", name, "default")) -- package:config() will use default value after loading package requireinfo.configs[name] = nil end |
