summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/modules/package/manager/cargo/install_package.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/package/manager/cargo/install_package.lua b/xmake/modules/package/manager/cargo/install_package.lua
index ca9706643..69ed48c54 100644
--- a/xmake/modules/package/manager/cargo/install_package.lua
+++ b/xmake/modules/package/manager/cargo/install_package.lua
@@ -174,7 +174,7 @@ target = "%s"
end
if configs.features then
table.insert(argv, "--features")
- table.insert(argv, table.concat(configs.features, ","))
+ table.insert(argv, table.concat(table.wrap(configs.features), ","))
end
if configs.default_features == false then
table.insert(argv, "--no-default-features")