Address PR comments

This commit is contained in:
JCW
2026-06-11 16:06:48 +01:00
parent 3add486782
commit d1e7fdf329

View File

@@ -279,10 +279,9 @@ def expand_platform_matrix(
platform_name, arch = pf.platform.split("/")
is_windows = platform_name == "windows"
active_toolsets = [t for t in pf.toolsets if not t.exclude] if pf.toolsets else []
toolsets = (
[t for t in pf.toolsets if not t.exclude]
if pf.toolsets
else [Toolset(name="", generator="Ninja")]
active_toolsets if active_toolsets else [Toolset(name="", generator="Ninja")]
)
entries: list[MatrixEntry] = []