mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Serialization] Remove 'EnableSameSDKCheck' it's not needed with the soft-reject
This commit is contained in:
@@ -2419,10 +2419,6 @@ swift::ide::api::getSDKNodeRoot(SDKContext &SDKCtx,
|
||||
|
||||
auto &Ctx = CI.getASTContext();
|
||||
|
||||
// Don't check if the stdlib was build with the same SDK as what is loaded
|
||||
// here as some tests rely on using a different stdlib.
|
||||
Ctx.SearchPathOpts.EnableSameSDKCheck = false;
|
||||
|
||||
// Load standard library so that Clang importer can use it.
|
||||
auto *Stdlib = Ctx.getStdlibModule(/*loadIfAbsent=*/true);
|
||||
if (!Stdlib) {
|
||||
|
||||
Reference in New Issue
Block a user