mirror of
https://github.com/apple/swift.git
synced 2026-02-27 18:26:24 +01:00
We needed to add the `Runtime` module to the new build system, but when I tried doing that, various things broke. Firstly, we ended up with two targets with the name `swiftRuntime`, but only in the static build (because in that build, everything gets pulled in together, so CMake sees both of them). Rename the one that's part of `swiftCore` to `swiftRuntimeCore`. Second, we need some extra paths for the `Cxx` module and its submodules, and since those are part of the `INTERFACE`, we need to make sure we `PUBLIC` link them into the `Cxx` module so that they get passed through when building `swiftRuntime`. rdar://101623384