Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
On Apple platforms, use swiftmodule directories for the stdlib #21797
This changes the Swift resource directory from looking like
matching the layout we use for multi-architecture swiftmodules everywhere else (particularly frameworks).
There's no change in this commit to how Linux swiftmodules are packaged. There's been past interest in going the opposite direction for Linux, since there's not standard support for fat (multi-architecture) .so libraries. Moving the .so search path down to an architecture-specific directory on Linux would allow the same resource directory to be used for both host-compiling and cross-compiling.