[Serialization] Remove 'EnableSameSDKCheck' it's not needed with the soft-reject

This commit is contained in:
Alexis Laferrière
2022-05-13 13:17:53 -07:00
parent c1a7aee4d4
commit a63f071ea2
2 changed files with 0 additions and 8 deletions

View File

@@ -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) {