We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c75793f commit f6bfa7eCopy full SHA for f6bfa7e
include/swift/Runtime/Paths.h
@@ -73,7 +73,7 @@ swift_getRootPath();
73
/// \return A string containing the full path to the executable. This string
74
/// should be released with `free()` when no longer required.
75
SWIFT_RUNTIME_EXPORT
76
-const char *
+char *
77
swift_copyAuxiliaryExecutablePath(const char *name);
78
79
#endif // SWIFT_RUNTIME_PATHS_H
stdlib/public/runtime/Paths.cpp
@@ -356,7 +356,7 @@ _swift_win32NameFromNTName(LPWSTR pszFilename) {
356
} // namespace
357
358
359
360
swift_copyAuxiliaryExecutablePath(const char *name)
361
{
362
const char *rootPath = swift_getRootPath();
0 commit comments