We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a142508 commit ca6ff3dCopy full SHA for ca6ff3d
Sources/_InternalTestSupport/MockBuildTestHelper.swift
@@ -20,6 +20,7 @@ import SPMBuildCore
20
import TSCUtility
21
22
public struct MockToolchain: PackageModel.Toolchain {
23
+ public let metalToolchainId: String?
24
public let metalToolchainPath: Basics.AbsolutePath?
25
#if os(Windows)
26
public let librarianPath = AbsolutePath("/fake/path/to/link.exe")
Tests/BuildMetalTests/BuildMetalTests.swift
@@ -19,6 +19,7 @@ import Metal
19
@Suite
struct BuildMetalTests {
+#if os(macOS)
@Test(
.tags(
.TestSize.large
@@ -65,5 +66,5 @@ struct BuildMetalTests {
65
66
#expect(library.functionNames.contains("simpleVertexShader"))
67
}
68
-
69
+#endif
70
0 commit comments