From 4bf1cf35ba18b2549b0db87f4f8465fdabed2f47 Mon Sep 17 00:00:00 2001 From: Robert Schumacher Date: Wed, 18 Mar 2020 12:18:24 -0700 Subject: [PATCH] [vcpkg] Fill in feature lists during CI reporting --- toolsrc/src/vcpkg/commands.ci.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/toolsrc/src/vcpkg/commands.ci.cpp b/toolsrc/src/vcpkg/commands.ci.cpp index 7b65eac99b..f21366a36e 100644 --- a/toolsrc/src/vcpkg/commands.ci.cpp +++ b/toolsrc/src/vcpkg/commands.ci.cpp @@ -293,9 +293,7 @@ namespace vcpkg::Commands::CI std::vector install_specs; for (auto&& install_action : action_plan.install_actions) { - install_specs.emplace_back(FullPackageSpec{ - install_action.spec, - std::vector{install_action.feature_list.begin(), install_action.feature_list.end()}}); + install_specs.emplace_back(FullPackageSpec{install_action.spec, install_action.feature_list}); } var_provider.load_tag_vars(install_specs, provider); @@ -315,6 +313,7 @@ namespace vcpkg::Commands::CI { auto p = &action; ret->abi_map.emplace(action.spec, action.package_abi.value_or_exit(VCPKG_LINE_INFO)); + ret->features.emplace(action.spec, action.feature_list); if (auto scfl = p->source_control_file_location.get()) { auto emp = ret->default_feature_provider.emplace(p->spec.name(), *scfl);