Swift on Linux: arc4random
By default arc4random is not available in Swift on Linux. In order to enable it:
- Install the BSD library
- Add GitHub user dudash’s Swift Package Manager BSD wrapper to your Package.swift file
- Import ClibBSD in Swift files that require arc4random