Skip to content

Commit 8dc9ea2

Browse files
[WebAssembly][Runtime] Scan metadata sections for Distribtued and Multi-payload enum
They were just forgotten and not caught by test/stdlib test suite
1 parent 5720a50 commit 8dc9ea2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

stdlib/public/runtime/SwiftRT-WASM.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ DECLARE_SWIFT_SECTION(swift5_replace)
3434
DECLARE_SWIFT_SECTION(swift5_replac2)
3535
DECLARE_SWIFT_SECTION(swift5_builtin)
3636
DECLARE_SWIFT_SECTION(swift5_capture)
37+
DECLARE_SWIFT_SECTION(swift5_mpenum)
38+
DECLARE_SWIFT_SECTION(swift5_accessible_functions)
3739
}
3840

3941
#undef DECLARE_SWIFT_SECTION
@@ -67,6 +69,8 @@ static void swift_image_constructor() {
6769
SWIFT_SECTION_RANGE(swift5_replac2),
6870
SWIFT_SECTION_RANGE(swift5_builtin),
6971
SWIFT_SECTION_RANGE(swift5_capture),
72+
SWIFT_SECTION_RANGE(swift5_mpenum),
73+
SWIFT_SECTION_RANGE(swift5_accessible_functions),
7074
};
7175

7276
#undef SWIFT_SECTION_RANGE

0 commit comments

Comments
 (0)