mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Having package-name printed in public or private interface led to strange dependency errors in the past. For example, an SPI module is a dependency within a package, but due to the package-name being printed in public or private interface, dependency scanner tries to find it even for an external client of the package, causing a `no such module found` error. The -disable-print-package-name-for-non-package flag helps with such case, but to enforce the correct behavior, we should make it a default to not print package-name in public or private interface. Resolves rdar://135260270
4.8 KiB
4.8 KiB