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
SwiftPM complains about @main in non main.swift file when integrated driver is not enabled
One of several different code paths in BuildPlan.swift are taken depending on whether the integrated Swift driver is enabled, whether explicit modules are enabled, etc. In the non-integrated-driver case, the code path for adding a `-parse-as-library` when necessary wasn't taken. This moves that code to a more central place. A unit test is needed that will make sure the flag is added in this case as well.
rdar://78080245
0 commit comments