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
Previews break with explicit modules enabled <rdar://146184835>
With the new previews execution mode, we don't need to be as aggressive stripping compiler flags for thunk builds like we did for the old dynamic replacement execution mode. And doing so actually breaks when explicit modules are turned on. After auditing the minimum number of flags needed to request single file compiler invocations that don't break with explict modules enabled, this change moves the remaining flags into clauses that only affect dynamic replacement mode.
Updated unit tests to match (including some better formatting for the large parameter checks).
// For XOJIT previews, we want the frontend (`swift-frontend`) invocation rather than the driver (`swiftc`) invocation, so ask libSwiftDriver for it and replace the command line with the result for propagation back to the request.
0 commit comments