summaryrefslogtreecommitdiff
path: root/xmake/modules/private/action/require/impl/package.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-11-13 13:03:38 +0800
committerruki <[email protected]>2021-11-13 13:03:38 +0800
commitdaef54e8a91ae742e18057756fcaa7548bc83930 (patch)
treee2d2739ce79c59c895aeaca050409392d6cd3008 /xmake/modules/private/action/require/impl/package.lua
parent7625d0368ebf5dd461566b802ebb464cda2b1c9d (diff)
install cargo deps
Diffstat (limited to 'xmake/modules/private/action/require/impl/package.lua')
-rw-r--r--xmake/modules/private/action/require/impl/package.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/action/require/impl/package.lua b/xmake/modules/private/action/require/impl/package.lua
index 7a8502326..3bb12ac30 100644
--- a/xmake/modules/private/action/require/impl/package.lua
+++ b/xmake/modules/private/action/require/impl/package.lua
@@ -950,7 +950,7 @@ function get_configs_str(package)
if type(v) == "boolean" then
table.insert(configs, k .. ":" .. (v and "y" or "n"))
else
- table.insert(configs, k .. ":" .. v)
+ table.insert(configs, k .. ":" .. string.serialize(v, {strip = true, indent = false}))
end
end
end