@@ -14,7 +14,7 @@ func _recordIssue(
14
14
) {
15
15
guard let function = function ( for: " $s25IssueReportingTestSupport07_recordA0ypyF " )
16
16
else {
17
- #if DEBUG
17
+ #if DEBUG && canImport(Darwin)
18
18
guard
19
19
let record = unsafeBitCast (
20
20
symbol: " $s7Testing5IssueV6record_14sourceLocationAcA7CommentVSg_AA06SourceE0VtFZ " ,
@@ -60,7 +60,7 @@ func _recordError(
60
60
) {
61
61
guard let function = function ( for: " $s25IssueReportingTestSupport12_recordErrorypyF " )
62
62
else {
63
- #if DEBUG
63
+ #if DEBUG && canImport(Darwin)
64
64
guard
65
65
let record = unsafeBitCast (
66
66
symbol: """
@@ -110,7 +110,7 @@ func _withKnownIssue(
110
110
) {
111
111
guard let function = function ( for: " $s25IssueReportingTestSupport010_withKnownA0ypyF " )
112
112
else {
113
- #if DEBUG
113
+ #if DEBUG && canImport(Darwin)
114
114
guard
115
115
let withKnownIssue = unsafeBitCast (
116
116
symbol: """
@@ -182,7 +182,7 @@ func _withKnownIssue(
182
182
guard
183
183
let function = function ( for: " $s25IssueReportingTestSupport010_withKnownA13AsyncIsolatedypyF " )
184
184
else {
185
- #if DEBUG
185
+ #if DEBUG && canImport(Darwin)
186
186
guard
187
187
let withKnownIssue = unsafeBitCast (
188
188
symbol: """
@@ -254,7 +254,7 @@ func _withKnownIssue(
254
254
) async {
255
255
guard let function = function ( for: " $s25IssueReportingTestSupport010_withKnownA5AsyncypyF " )
256
256
else {
257
- #if DEBUG
257
+ #if DEBUG && canImport(Darwin)
258
258
guard
259
259
let withKnownIssue = unsafeBitCast (
260
260
symbol: """
0 commit comments