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 @@ -114,6 +114,7 @@ UnsafeMutableRawPointerExtraTestSuite.test("load.unaligned")
114
114
expectEqual ( result, 0xffff_0000 )
115
115
}
116
116
117
+ #if !os(WASI)
117
118
UnsafeMutableRawPointerExtraTestSuite . test ( " load.invalid " )
118
119
. skip ( . custom( { !_isDebugAssertConfiguration( ) } ,
119
120
reason: " This tests a debug precondition.. " ) )
@@ -137,6 +138,7 @@ UnsafeMutableRawPointerExtraTestSuite.test("load.invalid.mutable")
137
138
}
138
139
expectUnreachable ( )
139
140
}
141
+ #endif
140
142
141
143
UnsafeMutableRawPointerExtraTestSuite . test ( " store.unaligned " )
142
144
. skip ( . custom( {
@@ -167,6 +169,7 @@ UnsafeMutableRawPointerExtraTestSuite.test("store.unaligned")
167
169
0 )
168
170
}
169
171
172
+ #if !os(WASI)
170
173
UnsafeMutableRawPointerExtraTestSuite . test ( " store.invalid " )
171
174
. skip ( . custom( { !_isDebugAssertConfiguration( ) } ,
172
175
reason: " This tests a debug precondition.. " ) )
@@ -186,6 +189,7 @@ UnsafeMutableRawPointerExtraTestSuite.test("store.invalid")
186
189
p1. storeBytes ( of: m, as: Missile . self)
187
190
expectUnreachable ( )
188
191
}
192
+ #endif
189
193
190
194
UnsafeMutableRawPointerExtraTestSuite . test ( " copyMemory " ) {
191
195
let sizeInBytes = 4 * MemoryLayout< Int> . stride
You can’t perform that action at this time.
0 commit comments