mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Propagate sysroot to module loader subinvocation
To fix the Android build issue https://github.com/swiftlang/swift/issues/79839
This commit is contained in:
@@ -356,7 +356,7 @@ bool ImplicitModuleInterfaceBuilder::buildSwiftModuleInternal(
|
||||
}
|
||||
|
||||
SubError = (bool)subASTDelegate.runInSubCompilerInstance(
|
||||
moduleName, interfacePath, sdkPath, OutPath, diagnosticLoc,
|
||||
moduleName, interfacePath, sdkPath, sysroot, OutPath, diagnosticLoc,
|
||||
silenceInterfaceDiagnostics,
|
||||
[&](SubCompilerInstanceInfo &info) {
|
||||
auto EBuilder = ExplicitModuleInterfaceBuilder(
|
||||
|
||||
Reference in New Issue
Block a user