Skip to content

Commit

Permalink
Add conformance to Sendable for generated _R struct
Browse files Browse the repository at this point in the history
  • Loading branch information
tomlokhorst committed Oct 7, 2024
1 parent 24b1e15 commit 4ac2eb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/rswift/RswiftCore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ public struct RswiftCore {
valueCodeString: validateLines
)

var s = Struct(name: structName, additionalModuleReferences: [.rswiftResources]) {
var s = Struct(name: structName, protocols: [.init(module: .host, rawName: "Sendable")], additionalModuleReferences: [.rswiftResources]) {
Init.bundle

if generators.contains(.project), !projectStruct.isEmpty {
Expand Down

0 comments on commit 4ac2eb7

Please sign in to comment.