Skip to content

Commit 66e402a

Browse files
committed
import Metal only on macOS
1 parent d2e70e8 commit 66e402a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Tests/BuildMetalTests/BuildMetalTests.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ import _InternalTestSupport
1414
import Testing
1515
import Basics
1616
import Foundation
17+
#if os(macOS)
1718
import Metal
19+
#endif
1820

1921
@Suite
2022
struct BuildMetalTests {

0 commit comments

Comments
 (0)