Skip to content

Commit 4a4aa48

Browse files
committed
Meant to use Where instead of Select lmao
1 parent 3b83080 commit 4a4aa48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/nuke/Native/SwiftShader.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ partial class Build {
7474
("zig-toolchain-x86_64-linux-gnu.2.17", "linux-x64"),
7575
("zig-toolchain-arm-linux-gnueabihf.2.17", "linux-arm"),
7676
("zig-toolchain-aarch64-linux-gnu.2.17", "linux-arm64"),
77-
}.Select(x => string.IsNullOrWhiteSpace(MatrixArg) || x.Item2 == MatrixArg))
77+
}.Where(x => string.IsNullOrWhiteSpace(MatrixArg) || x.Item2 == MatrixArg))
7878
{
7979
EnsureCleanDirectory(buildDir);
8080
InheritedShell($"{prepare} {GetCMakeToolchainFlag(triple)} -DCMAKE_C_FLAGS_RELEASE=\"-s -Wl,--undefined-version\" -DCMAKE_CXX_FLAGS_RELEASE=\"-s -Wl,--undefined-version\"", buildDir).AssertZeroExitCode();

0 commit comments

Comments
 (0)