You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to get an existing project building on Linux.
The project is a wrapper around NSRegularExpression. I'm aware that NSRegularExpression is currently unimplemented on Linux. So I expected the code to compile and link successfully, but to see a runtime error.
Instead, the library compiles fine, but fails when linking to an executable with a number of undefined reference errors:
Environment
Additional Detail from JIRA
md5: 2175b88b9bbb7d223d9d9c8498681739
Issue Description:
I'm trying to get an existing project building on Linux.
The project is a wrapper around
NSRegularExpression
. I'm aware thatNSRegularExpression
is currently unimplemented on Linux. So I expected the code to compile and link successfully, but to see a runtime error.Instead, the library compiles fine, but fails when linking to an executable with a number of
undefined reference
errors:When I
import Foundation
in the REPL and try to useNSRegularExpression
, I see the expected runtime error.Steps to reproduce:
1. Create a new directory with the following `Package.swift` file:
2. Run
swift build
The text was updated successfully, but these errors were encountered: