Skip to content

Commit 7b07fcf

Browse files
authored
Merge pull request #1876 from rintaro/macros-pluginmessages-nonspi
[Macros] Stop using @_spi for PluginMessage types
2 parents 1561a9e + 017bcef commit 7b07fcf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/SwiftCompilerPluginMessageHandling/PluginMessages.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
// NOTE: Types in this file should be self-contained and should not depend on any non-stdlib types.
1414

15-
@_spi(PluginMessage) public enum HostToPluginMessage: Codable {
15+
public enum HostToPluginMessage: Codable {
1616
/// Send capability of the host, and get capability of the plugin.
1717
case getCapability(
1818
capability: PluginMessage.HostCapability?
@@ -47,7 +47,7 @@
4747
)
4848
}
4949

50-
@_spi(PluginMessage) public enum PluginToHostMessage: Codable {
50+
public enum PluginToHostMessage: Codable {
5151
case getCapabilityResult(
5252
capability: PluginMessage.PluginCapability
5353
)
@@ -76,7 +76,7 @@
7676
)
7777
}
7878

79-
@_spi(PluginMessage) public enum PluginMessage {
79+
public enum PluginMessage {
8080
public static var PROTOCOL_VERSION_NUMBER: Int { 7 } // Pass extension protocol list
8181

8282
public struct HostCapability: Codable {

0 commit comments

Comments
 (0)