mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
swift_supports_implicit_module invokes /path/to/toolchain/usr/bin/swiftc directly without using `xcrun`. That fails to set necessary environmental variables to make swiftc infer the SDK path. Because of that swift_supports_implicit_module used to fail because the test compilation fails to load the stdlib. This PR workaround it by passing `-parse-stdlib` to avoid implicit stdlib loading.
679 B
679 B