diff options
| author | ruki <[email protected]> | 2023-09-22 00:34:24 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-09-22 00:34:24 +0800 |
| commit | 3cd87cce3601759b2405b1dbf41828ae3c16513a (patch) | |
| tree | e6daec601e6412f6daac90e4484d00cbd98daa8f | |
| parent | b6d968177d38d3f9519d4252034aac3f99e53d8c (diff) | |
fix cargo features #4231
| -rw-r--r-- | xmake/modules/package/manager/cargo/install_package.lua | 2 |
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") |
