We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e89fd6a commit 2b47724Copy full SHA for 2b47724
tools/swift-plugin-server/Sources/swift-plugin-server/WasmMessageHandler.swift
@@ -30,7 +30,7 @@ final class WasmInterceptingMessageHandler<Base: PluginMessageHandler>: PluginMe
30
guard libraryPath.hasSuffix(".wasm") else { break }
31
let libraryFilePath = FilePath(libraryPath)
32
do {
33
- loadedWasmPlugins[moduleName] = try defaultWasmPlugin.init(path: libraryFilePath)
+ loadedWasmPlugins[moduleName] = try DefaultWasmPlugin(path: libraryFilePath)
34
} catch {
35
return .loadPluginLibraryResult(
36
loaded: false,
@@ -110,5 +110,3 @@ protocol WasmPlugin {
110
111
func handleMessage(_ json: [UInt8]) throws -> [UInt8]
112
}
113
-
114
-private var defaultWasmPlugin: (some WasmPlugin).Type { DefaultWasmPlugin.self }
0 commit comments