File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,7 @@ UnsafeMutableRawPointerExtraTestSuite.test("load.unaligned")
131
131
expectEqual ( result, 0xffff_0000 )
132
132
}
133
133
134
+ #if !os(WASI)
134
135
UnsafeMutableRawPointerExtraTestSuite . test ( " load.invalid " )
135
136
. skip ( . custom( { !_isDebugAssertConfiguration( ) } ,
136
137
reason: " This tests a debug precondition.. " ) )
@@ -154,6 +155,7 @@ UnsafeMutableRawPointerExtraTestSuite.test("load.invalid.mutable")
154
155
}
155
156
expectUnreachable ( )
156
157
}
158
+ #endif
157
159
158
160
UnsafeMutableRawPointerExtraTestSuite . test ( " store.unaligned " )
159
161
. skip ( . custom( {
@@ -184,6 +186,7 @@ UnsafeMutableRawPointerExtraTestSuite.test("store.unaligned")
184
186
0 )
185
187
}
186
188
189
+ #if !os(WASI)
187
190
UnsafeMutableRawPointerExtraTestSuite . test ( " store.invalid " )
188
191
. skip ( . custom( { !_isDebugAssertConfiguration( ) } ,
189
192
reason: " This tests a debug precondition.. " ) )
@@ -203,6 +206,7 @@ UnsafeMutableRawPointerExtraTestSuite.test("store.invalid")
203
206
p1. storeBytes ( of: m, as: Missile . self)
204
207
expectUnreachable ( )
205
208
}
209
+ #endif
206
210
207
211
UnsafeMutableRawPointerExtraTestSuite . test ( " copyMemory " ) {
208
212
let sizeInBytes = 4 * MemoryLayout< Int> . stride
You can’t perform that action at this time.
0 commit comments