Skip to content

Commit c3f8704

Browse files
[WASM] Fix #if condition for dynamic symbol lookup tests
1 parent 1e7fe71 commit c3f8704

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/stdlib/Runtime.swift.gyb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ Runtime.test("Struct layout with reference storage types") {
593593
print(malkovich)
594594
}
595595

596-
#if !(canImport(Darwin) && !_runtime(_ObjC))
596+
#if !(canImport(Darwin) && !_runtime(_ObjC)) && !os(WASI)
597597
Runtime.test("SwiftError layout constants for LLDB") {
598598
let offsetof_SwiftError_typeMetadata = pointerToSwiftCoreSymbol(name: "_swift_lldb_offsetof_SwiftError_typeMetadata")!
599599
let sizeof_SwiftError = pointerToSwiftCoreSymbol(name: "_swift_lldb_sizeof_SwiftError")!

0 commit comments

Comments
 (0)