Skip to content

Commit ad1ea35

Browse files
mhrawdonjakepetroules
authored andcommitted
Add SWBWebAssemblyPlatformPlugin
This mirrors the other platforms.
1 parent 4b503cd commit ad1ea35

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// This source file is part of the Swift open source project
4+
//
5+
// Copyright (c) 2025 Apple Inc. and the Swift project authors
6+
// Licensed under Apache License v2.0 with Runtime Library Exception
7+
//
8+
// See http://swift.org/LICENSE.txt for license information
9+
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10+
//
11+
//===----------------------------------------------------------------------===//
12+
13+
import SWBUtil
14+
import SWBCore
15+
import SWBWebAssemblyPlatform
16+
17+
@_cdecl("initializePlugin")
18+
@PluginExtensionSystemActor public func main(_ ptr: UnsafeRawPointer) {
19+
initializePlugin(Unmanaged<PluginManager>.fromOpaque(ptr).takeUnretainedValue())
20+
}

0 commit comments

Comments
 (0)