Update swift-stdlib-tool for Swift 5 (#27276)

This commit is contained in:
Kyle Macomber
2019-09-23 14:51:35 -07:00
committed by GitHub
parent 0fb5ec32be
commit f086b9b94f

View File

@@ -985,7 +985,7 @@ int main(int argc, const char *argv[])
src_dir = [[[self_executable stringByDeletingLastPathComponent]
stringByDeletingLastPathComponent]
sst_stringByAppendingPathComponents:
@[ @"lib", @"swift", platform ]];
@[ @"lib", @"swift-5.0", platform ]];
} else if (!platform) {
// src_dir is set but platform is not.
// Pick platform from src_dir's name.