swiftlang / swift-docc-plugin

Swift Package Manager command plugin for Swift-DocC
https://swiftpackageindex.com/swiftlang/swift-docc-plugin/documentation/swiftdoccplugin
Apache License 2.0
326 stars 52 forks source link

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

Closed d-ronnqvist closed 3 months ago

d-ronnqvist commented 3 months 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 months ago

@swift-ci please test

hassila commented 3 months ago

Thanks for quick turnaround!