swiftlang / swift-docc-plugin

Swift Package Manager command plugin for Swift-DocC
https://swiftpackageindex.com/apple/swift-docc-plugin/1.3.0/documentation/swiftdoccplugin
Apache License 2.0
316 stars 54 forks source link

Avoid using `NSLock.withLock` because Linux doesn't support it before Swift 6.0 #93

Closed d-ronnqvist closed 3 weeks ago

d-ronnqvist commented 3 weeks ago

Bug/issue #, if applicable: https://github.com/swiftlang/swift-docc-plugin/issues/92

Summary

This fixes a build error on Linux before Swift 6.0.

Dependencies

None

Testing

Build on Linux with Swift 5.10

Checklist

Make sure you check off the following items. If they cannot be completed, provide a reason.

d-ronnqvist commented 3 weeks ago

@swift-ci please test

hassila commented 3 weeks ago

Thanks for quick turnaround!