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
add swiftSettings: [.unsafeFlags(["-no-whole-module-optimization"])] to the executable target
swift build -c release
This problem could be worked around in the compiler, in swift-llbuild, or in the driver by separately issuing the build command without-no-whole-module-optimization included, which generates the needed dependencies file. I am filing issues against all three projects in the hopes that the maintainers can agree on a possible solution.
My project is blocked by an apparent whole-module optimization buh. I am unable to work around it by turning off whole-module optimization because swift-llbuild complains of a missing dependencies file.
Reproducer:
swift package init --type executable
swiftSettings: [.unsafeFlags(["-no-whole-module-optimization"])]
to the executable targetswift build -c release
This problem could be worked around in the compiler, in swift-llbuild, or in the driver by separately issuing the build command without
-no-whole-module-optimization
included, which generates the needed dependencies file. I am filing issues against all three projects in the hopes that the maintainers can agree on a possible solution.The text was updated successfully, but these errors were encountered: