Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
I did not rename that function, senator
  • Loading branch information
grynspan committed Nov 5, 2025
commit 00e1630db49e2fe1d9c08e8e5963c790e8635d38
5 changes: 3 additions & 2 deletions Sources/_TestingInternals/include/ExecutablePath.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@
SWT_ASSUME_NONNULL_BEGIN

#if defined(__OpenBSD__)
/// Get the executable path of the current process.
/// Get the current working directory as it was set shortly after the process
/// started and before `main()` has been called.
///
/// This function is necessary on OpenBSD so that we can (as correctly as
/// possible) resolve the executable path when the first argument is a relative
/// path (which can occur when manually invoking the test executable.)
SWT_EXTERN const char *_Nullable swt_getExecutablePath(void);
SWT_EXTERN const char *_Nullable swt_getEarlyCWD(void);
#endif

SWT_ASSUME_NONNULL_END
Expand Down