Mac debugging

This commit is contained in:
Krzosa Karol
2024-01-27 22:21:34 +01:00
parent b808bf4434
commit a6ba486407
2 changed files with 6 additions and 3 deletions

View File

@@ -55,9 +55,13 @@ int main() {
S8_String dir_path = OS_GetExeDir(&arena);
S8_String work_path = OS_GetWorkingDir(&arena);
S8_String abs_path = OS_GetAbsolutePath(&arena, read_file_path);
/*
@todo: MAC
I have no idea what is happening on mac with this
IO_Printf("dir_path = %.*s\n", S8_Expand(dir_path));
IO_Printf("exe_path = %.*s\n", S8_Expand(exe_path));
dir_path = /Users/runner/work/first/first/build/test_filesystem_debug_clang_mac_os/test_filesystem.exe
exe_path = /Users/runner/work/first/first/build/test_filesystem_debug_clang_mac_os/test_filesystem.exe
*/
IO_Assert(OS_IsDir(dir_path));
IO_Assert(!OS_IsFile(dir_path));