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
$ swift run
Building for debugging...
Build complete! (0.34s)
true
release fails
$ swift run -c release
Building for production...
error: link command failed with exit code 1 (use -v to see invocation)
ld: Undefined symbols:
static (extension in SystemPackage):SystemPackage._StrSlice.== infix(A, A) -> Swift.Bool, referenced from:
_repro_main in main.swift.o
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: fatalError
[0/1] Linking repro
Also reproes in Xcode.
This is Xcode 15A221 but also reproduces on anything else I tried.
The text was updated successfully, but these errors were encountered:
Any package which depends on
swift-system
and uses the==
onFilePath.Component
will fail to build in release mode (debug is fine).Consider this example program
with the following dependencies/targets
debug works
release fails
Also reproes in Xcode.
This is Xcode 15A221 but also reproduces on anything else I tried.
The text was updated successfully, but these errors were encountered: